summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager
diff options
context:
space:
mode:
authorric <csxnju at sogou.com>2009-08-06 19:26:21 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-11 02:30:47 +0100
commit92abe07e8011a9ac17d9fc9440fcf56106003dec (patch)
treed2942c750c98172bd3a847d5b1b2daf86b2b84ba /gst/rtpmanager
parent9f68303a2e290c14c91deb5ec33abe885980010e (diff)
rtpsource: avoid buffer leak on bad seqnum
Fixes #590797
Diffstat (limited to 'gst/rtpmanager')
-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;
}
}