Skip to content
Snippets Groups Projects
Commit 8e4f11df authored by Oliver Sander's avatar Oliver Sander
Browse files

Properly free a buffer, to avoid a memory leak

parent 8ee3dd07
No related branches found
No related tags found
No related merge requests found
......@@ -2836,6 +2836,9 @@ INT NS_DIM_PREFIX ExitCommandInterpreter()
{
free(cmdBuffer);
free(executeBuffer);
#ifdef ModelP
free(execCmdBuffer);
#endif
free(programBuffer);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment