There is no need to keep a strong ref on it, and _leave_bin() was
setting it to NULL before calling g_clear_object() so it was leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=766612
-Subproject commit f49c55ecd35a7436194d28297f6d6f20eb6a66fa
+Subproject commit 6f2d2093e84cc0eb99b634fa281822ebb9507285
(GCallback) caps_notify, stream);
}
- priv->joined_bin = gst_object_ref (bin);
+ priv->joined_bin = bin;
g_mutex_unlock (&priv->lock);
return TRUE;
gst_rtsp_address_free (priv->server_addr_v6);
priv->server_addr_v6 = NULL;
- g_clear_object (&priv->joined_bin);
g_mutex_unlock (&priv->lock);
return TRUE;