summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john.keeping at lineone.net>2009-05-25 16:33:35 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-05-25 16:33:35 +0200
commit32491d5a515529af6f6d9a9646430bdbdf2a2267 (patch)
tree746877317ae839e6d3bc7cb8f192bafc82abb707
parente13e3c624924745b1ff75a84f5e4016ce1dca0db (diff)
pngdec: match g_malloc() with g_free()
Matching g_malloc() with a g_free() is important when a custom allocator is installed. Fixes #583803
-rw-r--r--ext/libpng/gstpngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
index d7af9a52f..524b468a6 100644
--- a/ext/libpng/gstpngdec.c
+++ b/ext/libpng/gstpngdec.c
@@ -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);