rtsp-media: Call g_free() instead of g_object_unref() on multicast-iface strings

https://bugzilla.gnome.org/show_bug.cgi?id=763000#c5
This commit is contained in:
Sebastian Dröge 2016-09-18 09:58:55 -04:00
parent 0121cbc500
commit 800bed8c9c
2 changed files with 2 additions and 2 deletions

View file

@ -829,7 +829,7 @@ gst_rtsp_media_factory_set_multicast_iface (GstRTSPMediaFactory * media_factory,
g_mutex_unlock (&priv->lock);
if (old)
g_object_unref (old);
g_free (old);
}
/**

View file

@ -1606,7 +1606,7 @@ gst_rtsp_media_set_multicast_iface (GstRTSPMedia * media,
g_mutex_unlock (&priv->lock);
if (old)
g_object_unref (old);
g_free (old);
}
/**