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:
1840fa9
)
rtpj2kpay: Fix buffer memory leak
author
Pierre Lamot
<pierre.lamot@openwide.fr>
Wed, 25 May 2016 15:11:13 +0000
(17:11 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 27 May 2016 11:46:23 +0000
(12:46 +0100)
Input buffer memory was not unmapped
https://bugzilla.gnome.org/show_bug.cgi?id=766870
gst/rtp/gstrtpj2kpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpj2kpay.c
b/gst/rtp/gstrtpj2kpay.c
index d30be315200a8dc959cf1327b9c3463260d6b071..3949ccf7a617c4c8bc02db14505e94bf6c1fa9ba 100644
(file)
--- a/
gst/rtp/gstrtpj2kpay.c
+++ b/
gst/rtp/gstrtpj2kpay.c
@@
-527,6
+527,7
@@
gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload,
offset = pos;
} while (offset < map.size);
+ gst_buffer_unmap (buffer, &map);
gst_buffer_unref (buffer);
/* push the whole buffer list at once */