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:
9a38f95
)
media: don't leak session pads
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 4 Jun 2009 17:20:26 +0000
(19:20 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 4 Jun 2009 17:20:26 +0000
(19:20 +0200)
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
129c1f3
..
49e3bca
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-115,6
+115,17
@@
gst_rtsp_media_stream_free (GstRTSPMediaStream *stream)
if (stream->caps)
gst_caps_unref (stream->caps);
+ if (stream->send_rtp_sink)
+ gst_object_unref (stream->send_rtp_sink);
+ if (stream->send_rtp_src)
+ gst_object_unref (stream->send_rtp_src);
+ if (stream->send_rtcp_src)
+ gst_object_unref (stream->send_rtcp_src);
+ if (stream->recv_rtcp_sink)
+ gst_object_unref (stream->recv_rtcp_sink);
+ if (stream->recv_rtp_sink)
+ gst_object_unref (stream->recv_rtp_sink);
+
g_list_free (stream->transports);
g_free (stream);