From 32491d5a515529af6f6d9a9646430bdbdf2a2267 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Mon, 25 May 2009 16:33:35 +0200 Subject: pngdec: match g_malloc() with g_free() Matching g_malloc() with a g_free() is important when a custom allocator is installed. Fixes #583803 --- ext/libpng/gstpngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/libpng') diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index d7af9a52..524b468a 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); -- cgit