Commit ab5b73b9 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

gabble_media_factory_create_call: ensure that request_properties is not NULL

parent 89b64c88
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment