Skip to content

Commit 6342cf1

Browse files
authored
Fix memory leak in parser (#2136)
1 parent 864e3ee commit 6342cf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parser/raylib_parser.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ int main(int argc, char* argv[])
410410
}
411411
}
412412

413+
free(enumLines);
414+
413415
// Functions info data
414416
funcs = (FunctionInfo *)calloc(MAX_FUNCS_TO_PARSE, sizeof(FunctionInfo));
415417

0 commit comments

Comments
 (0)