Commit 32491d5a authored by John Keeping's avatar John Keeping Committed by Wim Taymans
Browse files

pngdec: match g_malloc() with g_free()

Matching g_malloc() with a g_free() is important when a custom allocator is
Fixes #583803
parent e13e3c62
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment