tests: rtspserver: fix another ref leak

Even if this didn't show up in valgrind.
This commit is contained in:
Tim-Philipp Müller 2018-01-13 14:58:55 +00:00
parent 9238b7e19a
commit d0a4ddc2bb

View file

@ -2091,6 +2091,7 @@ media_constructed_cb (GstRTSPMediaFactory * mfactory, GstRTSPMedia * media,
bin = gst_rtsp_media_get_element (media);
*p_sink = gst_bin_get_by_name (GST_BIN (bin), "sink");
GST_INFO ("media constructed!: %" GST_PTR_FORMAT, *p_sink);
gst_object_unref (bin);
}
#define RECORD_N_BUFS 10