Skip to content

Commit

Permalink
free the->pathValue (thanks @raphdev)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Sep 18, 2023
1 parent d95fead commit c5845e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion xs/sources/xsMemory.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,13 @@ void fxFree(txMachine* the)
the->firstBlock = C_NULL;
}
#endif


#ifdef mxDebug
if (the->pathValue)
c_free(the->pathValue);
the->pathValue = C_NULL;
#endif

#ifdef mxNever
stopTime(&gxLifeTime);
reportTime(&gxLifeTime);
Expand Down

0 comments on commit c5845e5

Please sign in to comment.