Browse Source

Fix memory leak in parser (#2136)

pull/2138/head
Ronnie Holm 3 years ago
committed by GitHub
parent
commit
6342cf103a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      parser/raylib_parser.c

+ 2
- 0
parser/raylib_parser.c View File

@ -410,6 +410,8 @@ int main(int argc, char* argv[])
} }
} }
free(enumLines);
// Functions info data // Functions info data
funcs = (FunctionInfo *)calloc(MAX_FUNCS_TO_PARSE, sizeof(FunctionInfo)); funcs = (FunctionInfo *)calloc(MAX_FUNCS_TO_PARSE, sizeof(FunctionInfo));

Loading…
Cancel
Save