From 6342cf103a4d8b407e84a87fd711e10d8df940e2 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 775ec183..70279098 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));