Fixes a leak of a GstBin in the udp-mcast case.
https://bugzilla.gnome.org/show_bug.cgi?id=756968
gst_object_unref (pad);
gst_object_unref (selpad);
}
gst_object_unref (pad);
gst_object_unref (selpad);
}
- gst_object_unref (bin);
priv->transport_sources =
g_list_prepend (priv->transport_sources, source);
priv->transport_sources =
g_list_prepend (priv->transport_sources, source);
+ gst_object_unref (bin);
+
/* fall through for the generic case */
}
case GST_RTSP_LOWER_TRANS_UDP:
/* fall through for the generic case */
}
case GST_RTSP_LOWER_TRANS_UDP: