aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-01 15:41:37 -0700
committerThomas White <taw@physics.org>2013-06-01 15:41:37 -0700
commit3f56c4a884d404230dc31701d3b8abe5206c63d6 (patch)
tree54dc0903596da18bfe80625ab290a385b34a0d8f /src/process_image.c
parentd1a49592c0a96e12709c80cebd44a2528bafff9a (diff)
Fix memory leaks
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c2
1 files changed, 2 insertions, 0 deletions
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);