diff options
author | Pierre Lamot <pierre.lamot@openwide.fr> | 2016-05-25 17:11:13 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-05-27 12:46:23 +0100 |
commit | 3c50fd7669c989086cc1850a812e61bdcd666481 (patch) | |
tree | 8eb0987039078cd9e9813168474812536cf15190 | |
parent | 1840fa93630b5e3c2e87b011111fdba560bec6cf (diff) |
rtpj2kpay: Fix buffer memory leak
Input buffer memory was not unmapped
https://bugzilla.gnome.org/show_bug.cgi?id=766870
-rw-r--r-- | gst/rtp/gstrtpj2kpay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpj2kpay.c b/gst/rtp/gstrtpj2kpay.c index d30be3152..3949ccf7a 100644 --- 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 */ |