summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorric <csxnju at sogou.com>2009-08-06 19:26:21 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-08-06 19:27:20 +0200
commit15b29bb8347938aebe920d4ebd2ec211dd43052a (patch)
tree549001cef42a519d33cf1a1bb17dca3bc4f9bb6f /gst
parent3f6e84ec6176ed9b2df7d180729cdf06412e6992 (diff)
downloadgst-plugins-bad-15b29bb8347938aebe920d4ebd2ec211dd43052a.tar.gz
gst-plugins-bad-15b29bb8347938aebe920d4ebd2ec211dd43052a.tar.bz2
gst-plugins-bad-15b29bb8347938aebe920d4ebd2ec211dd43052a.zip
rtpsource: avoid buffer leak on bad seqnum
Fixes #590797
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpsource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index 1e0b6c0d..28fa23ef 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -1074,6 +1074,7 @@ done:
bad_sequence:
{
GST_WARNING ("unacceptable seqnum received");
+ gst_buffer_unref (buffer);
return GST_FLOW_OK;
}
}