summaryrefslogtreecommitdiff
path: root/gst/rtsp
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-04-03 12:18:39 +0200
committerWim Taymans <wtaymans@redhat.com>2014-04-03 12:18:39 +0200
commita52b7eadfd55cbe1409e797bafe848eb2720bf69 (patch)
treeda17327f6d8579d97b713ba2079fbe58c29e6f9d /gst/rtsp
parentf0f9451523f5678e832753524784c8238492fa51 (diff)
rtspsrc: free the srtpdec element
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 2bcfa46e0..38d9f1b1f 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1537,6 +1537,8 @@ gst_rtspsrc_stream_free (GstRTSPSrc * src, GstRTSPStream * stream)
gst_object_unref (stream->rtcppad);
if (stream->session)
g_object_unref (stream->session);
+ if (stream->srtpdec)
+ gst_object_unref (stream->srtpdec);
g_free (stream);
}