From 45f2baef82fbf08f3d915f00dd636de9fd18a520 Mon Sep 17 00:00:00 2001 From: Ronnie Holm Date: Sat, 13 Nov 2021 09:40:35 -0800 Subject: [PATCH] Fix memory leak in parser (#2136) --- parser/raylib_parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c index 775ec1835e7e..702790984fce 100644 --- a/parser/raylib_parser.c +++ b/parser/raylib_parser.c @@ -410,6 +410,8 @@ int main(int argc, char* argv[]) } } + free(enumLines); + // Functions info data funcs = (FunctionInfo *)calloc(MAX_FUNCS_TO_PARSE, sizeof(FunctionInfo));