summaryrefslogtreecommitdiffstats
path: root/logotool/rgb2yuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'logotool/rgb2yuv.c')
-rw-r--r--logotool/rgb2yuv.c2
1 files changed, 2 insertions, 0 deletions
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;
}