From 3f56c4a884d404230dc31701d3b8abe5206c63d6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 1 Jun 2013 15:41:37 -0700 Subject: Fix memory leaks --- src/process_image.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/process_image.c') diff --git a/src/process_image.c b/src/process_image.c index c7636560..898e653f 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -189,6 +189,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, free(image.dp[i]); free(image.bad[i]); } + free(image.dp); + free(image.bad); free(image.data); if ( image.flags != NULL ) free(image.flags); -- cgit v1.2.3