mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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:
parent
1840fa9363
commit
3c50fd7669
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue