From e13e31ce64e409ce6ac751896d7fa7d6a2cbd694 Mon Sep 17 00:00:00 2001 From: Capacitor Set Date: Mon, 14 Nov 2016 20:35:27 +0100 Subject: [PATCH] Fix vid_buf memory leak in editor.c --- font/editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/font/editor.c b/font/editor.c index e2aa646f3..cdd748693 100644 --- a/font/editor.c +++ b/font/editor.c @@ -397,6 +397,7 @@ int main(int argc, char *argv[]) #endif fwrite(font, CELLW*CELLH, 256, f); fclose(f); + free(vid_buf); return 0; }