From acb34b86d96ef0fa62750897ad83a62af806c057 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 24 Oct 2009 15:47:21 +0200 Subject: [PATCH] Merge. --- libqscale.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libqscale.c b/libqscale.c index 91a6f78..1ce7e89 100644 --- a/libqscale.c +++ b/libqscale.c @@ -345,6 +345,9 @@ static void hscale(float *pix, unsigned char *npix, unsigned w, unsigned h, unsi *dptr++ = ch; } } + + free(pd); + free(coeffs); } static void vscale(unsigned char *pix, float *npix, unsigned w, unsigned h, unsigned nh, unsigned dstride, enum qscale_scaling_filter scaling_filter) @@ -494,6 +497,9 @@ static void vscale(unsigned char *pix, float *npix, unsigned w, unsigned h, unsi dptr += dstride; } } + + free(pd); + free(coeffs); } qscale_img *qscale_clone(const qscale_img *img) -- 2.39.5