projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d86091
)
tests: rtspclientsink: fix leak
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 13 Jan 2018 14:58:00 +0000
(14:58 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 13 Jan 2018 14:58:00 +0000
(14:58 +0000)
tests/check/gst/rtspclientsink.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/rtspclientsink.c
b/tests/check/gst/rtspclientsink.c
index
83c40e9
..
b45ff0a
100644
(file)
--- a/
tests/check/gst/rtspclientsink.c
+++ b/
tests/check/gst/rtspclientsink.c
@@
-142,6
+142,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 AUDIO_PIPELINE "audiotestsrc num-buffers=%d ! " \