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:
1ac6a78
)
gstrtpdepay: don't leak input buffer
author
Rasmus Rohde
<rohde@duff.dk>
Thu, 4 Oct 2012 18:32:45 +0000
(20:32 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Thu, 4 Oct 2012 18:44:28 +0000
(19:44 +0100)
The rtp buffer is never unmapped in the normal code exit path
of gst_rtp_gst_depay_process(..) resulting in a memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=685512
gst/rtp/gstrtpgstdepay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpgstdepay.c
b/gst/rtp/gstrtpgstdepay.c
index
af364c6
..
8c211b6
100644
(file)
--- a/
gst/rtp/gstrtpgstdepay.c
+++ b/
gst/rtp/gstrtpgstdepay.c
@@
-291,6
+291,7
@@
gst_rtp_gst_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
}
}
+ gst_rtp_buffer_unmap (&rtp);
return outbuf;
/* ERRORS */