summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-02 14:28:36 (GMT)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-03 08:46:59 (GMT)
commitab5b73b9284ec72d1023336c5d91660e87ac96f6 (patch)
treedaf878ec05d44a418802adda939c8ca7d3def3a9
parent89b64c8804653e9d66b559704b15f2f77ac06a69 (diff)
downloadtelepathy-gabble-ab5b73b9284ec72d1023336c5d91660e87ac96f6.tar.gz
telepathy-gabble-ab5b73b9284ec72d1023336c5d91660e87ac96f6.tar.xz
gabble_media_factory_create_call: ensure that request_properties is not NULL
-rw-r--r--src/media-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/media-factory.c b/src/media-factory.c
index 039f549..ea47343 100644
--- a/src/media-factory.c
+++ b/src/media-factory.c
@@ -520,6 +520,8 @@ gabble_media_factory_create_call (TpChannelManager *manager,
gboolean initial_audio, initial_video;
const gchar *initial_audio_name, *initial_video_name;
+ g_return_val_if_fail (request_properties != NULL, FALSE);
+
if (tp_strdiff (tp_asv_get_string (request_properties,
TP_PROP_CHANNEL_CHANNEL_TYPE),
TP_IFACE_CHANNEL_TYPE_CALL))