projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13e3c6
)
pngdec: match g_malloc() with g_free()
author
John Keeping
<john.keeping at lineone.net>
Mon, 25 May 2009 14:33:35 +0000
(16:33 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 25 May 2009 14:33:35 +0000
(16:33 +0200)
Matching g_malloc() with a g_free() is important when a custom allocator is
installed.
Fixes #583803
ext/libpng/gstpngdec.c
patch
|
blob
|
history
diff --git
a/ext/libpng/gstpngdec.c
b/ext/libpng/gstpngdec.c
index
d7af9a5
..
524b468
100644
(file)
--- 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);