mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
examples: fix another reference leak
gst_rtsp_media_get_element() returns a new ref.
This commit is contained in:
parent
486f30558a
commit
04e69cf83b
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ media_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media,
|
|||
/* install the callback that will be called when a buffer is needed */
|
||||
g_signal_connect (appsrc, "need-data", (GCallback) need_data, ctx);
|
||||
gst_object_unref (appsrc);
|
||||
gst_object_unref (element);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue