summaryrefslogtreecommitdiffstats
path: root/dimension/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/main.c')
-rw-r--r--dimension/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dimension/main.c b/dimension/main.c
index 951f126..bb44df5 100644
--- a/dimension/main.c
+++ b/dimension/main.c
@@ -275,7 +275,7 @@ main(int argc, char **argv)
strcpy(output, base);
ext = output + len;
}
- free(input_copy);
+ dmnsn_free(input_copy);
strcpy(ext, ".png");
free_output = true;
}
@@ -283,7 +283,7 @@ main(int argc, char **argv)
/* Open the output file */
FILE *output_file = fopen(output, "wb");
if (free_output)
- free(output);
+ dmnsn_free(output);
if (!output_file) {
fprintf(stderr, "Couldn't open output file!");
return EXIT_FAILURE;