summaryrefslogtreecommitdiff
path: root/telepathy-farstream/call-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-farstream/call-stream.c')
-rw-r--r--telepathy-farstream/call-stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-farstream/call-stream.c b/telepathy-farstream/call-stream.c
index 9713dec..b1d21ec 100644
--- a/telepathy-farstream/call-stream.c
+++ b/telepathy-farstream/call-stream.c
@@ -307,6 +307,10 @@ _tf_call_stream_push_remote_candidates (TfCallStream *self,
gboolean ret;
GError *error = NULL;
+ /* If there are no candidates, nothing to do, just return */
+ if (fscandidates == NULL)
+ return;
+
switch (self->transport_type)
{
case TP_STREAM_TRANSPORT_TYPE_RAW_UDP: