aboutsummaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-02-19 02:21:04 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-02-19 02:21:04 +0100
commit98b585ee26f14ea0927386f26200a2e641272bb9 (patch)
tree6a3ef3465d8092c7bd8ddc5f034dc8da72449806 /bitmap.c
parent6b2d40b0d5d62546fe0676c8268ca7857a41815c (diff)
downloadAsciiMap-98b585ee26f14ea0927386f26200a2e641272bb9.tar.gz
Further memory leak fixes
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitmap.c b/bitmap.c
index 11554e7..a99e335 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -40,6 +40,8 @@ struct bitmap_pixel_data bitmap_read(char *_file)
ret = bitmap_read_pixel_data(bitmap, header);
+
+ free(header.tables);
fclose(bitmap);
ret.error = 0;