From a6ef73359c0e0537ebf83795ebacbbfaee2c9c28 Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 19 Dec 2008 19:39:27 +0100 Subject: * Apply security patches from Erik Hovland - Thanks! --- logotool/rgb2yuv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'logotool/rgb2yuv.c') diff --git a/logotool/rgb2yuv.c b/logotool/rgb2yuv.c index b3f2143..4c3a268 100644 --- a/logotool/rgb2yuv.c +++ b/logotool/rgb2yuv.c @@ -107,5 +107,7 @@ int rgb2yuv(char *from, char *to, int width, int height) for ( i = 0 ; i < height ; i+=2 ) for ( j = 0; j < width ; j +=2 ) write ( fout,&dstV[j+(i*width)], 1); + + free(dstV); free(dstU); free(dstY); free(src); return 1; } -- cgit v1.2.3