rtpj2kpay: Fix buffer memory leak

Input buffer memory was not unmapped

https://bugzilla.gnome.org/show_bug.cgi?id=766870
This commit is contained in:
Pierre Lamot 2016-05-25 17:11:13 +02:00 committed by Tim-Philipp Müller
parent 1840fa9363
commit 3c50fd7669

View file

@ -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 */