diff options
author | John Keeping <john.keeping at lineone.net> | 2009-05-25 16:33:35 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-25 16:33:35 +0200 |
commit | 32491d5a515529af6f6d9a9646430bdbdf2a2267 (patch) | |
tree | 746877317ae839e6d3bc7cb8f192bafc82abb707 /ext/libpng/gstpngdec.c | |
parent | e13e3c624924745b1ff75a84f5e4016ce1dca0db (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
Diffstat (limited to 'ext/libpng/gstpngdec.c')
-rw-r--r-- | ext/libpng/gstpngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |