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
@ -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…
x
Reference in New Issue
Block a user