Skip to content

Commit

Permalink
Fix for "Fix memory leak of model info xml data" #7464 (#7471)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed May 18, 2021
1 parent 03a9a34 commit ddc550c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -420,7 +420,7 @@ void modelInfoInit(MODEL_DATA_XML* xml)
void modelInfoDeinit(MODEL_DATA_XML* xml)
{
free(xml->functionNames); xml->functionNames = NULL;
free(xml->functionNames); xml->functionNames = NULL;
free(xml->equationInfo); xml->equationInfo = NULL;
}

FUNCTION_INFO modelInfoGetFunction(MODEL_DATA_XML* xml, size_t ix)
Expand Down

0 comments on commit ddc550c

Please sign in to comment.