summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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);