mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
openjpegenc: fix memory leak from mstream
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1800>
This commit is contained in:
parent
7463e1090c
commit
4f6b609558
1 changed files with 1 additions and 1 deletions
|
@ -1027,7 +1027,7 @@ gst_openjpeg_enc_handle_frame (GstVideoEncoder * encoder,
|
|||
|
||||
gst_buffer_append_memory (frame->output_buffer,
|
||||
gst_memory_new_wrapped (0, mstream.data, mstream.allocsize, 0,
|
||||
mstream.size, NULL, (GDestroyNotify) g_free));
|
||||
mstream.size, mstream.data, (GDestroyNotify) g_free));
|
||||
|
||||
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);
|
||||
ret =
|
||||
|
|
Loading…
Reference in a new issue