From 98b585ee26f14ea0927386f26200a2e641272bb9 Mon Sep 17 00:00:00 2001 From: jonas Date: Tue, 19 Feb 2019 02:21:04 +0100 Subject: Further memory leak fixes --- bitmap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitmap.c') 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; -- cgit v1.2.3