rtspsrc: free the srtpdec element

This commit is contained in:
Wim Taymans 2014-04-03 12:18:39 +02:00
parent f0f9451523
commit a52b7eadfd

View file

@ -1537,6 +1537,8 @@ gst_rtspsrc_stream_free (GstRTSPSrc * src, GstRTSPStream * stream)
gst_object_unref (stream->rtcppad); gst_object_unref (stream->rtcppad);
if (stream->session) if (stream->session)
g_object_unref (stream->session); g_object_unref (stream->session);
if (stream->srtpdec)
gst_object_unref (stream->srtpdec);
g_free (stream); g_free (stream);
} }