mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
pngdec: match g_malloc() with g_free()
Matching g_malloc() with a g_free() is important when a custom allocator is installed. Fixes #583803
This commit is contained in:
parent
e13e3c6249
commit
32491d5a51
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ gst_pngdec_task (GstPad * pad)
|
|||
|
||||
/* Read the actual picture */
|
||||
png_read_image (pngdec->png, rows);
|
||||
free (rows);
|
||||
g_free (rows);
|
||||
|
||||
/* Push the raw RGB frame */
|
||||
ret = gst_pad_push (pngdec->srcpad, buffer);
|
||||
|
|
Loading…
Reference in a new issue