diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 1 | ||||
-rw-r--r-- | src/process_image.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 27ea8fa5..0431d2bb 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -562,6 +562,7 @@ int main(int argc, char *argv[]) use_this_one_instead, ofd, argc, argv); free(prefix); + free(iargs.det); return 0; } 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); |