Fix memory leak in parser (#2136)

This commit is contained in:
Ronnie Holm 2021-11-13 09:40:35 -08:00 committed by GitHub
parent 864e3ee9f3
commit 6342cf103a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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