Memory cleanup now works

git-svn-id: http://picoc.googlecode.com/svn/trunk@193 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2009-03-11 09:50:11 +00:00
parent a22c243c06
commit 3448e70551
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ void Initialise()
/* free memory */
void Cleanup()
{
//TableStrFree();
TableStrFree();
}
/* platform-dependent code for running programs is in this file */

View file

@ -147,8 +147,8 @@ void TableStrFree()
{
for (Entry = StringTable.HashTable[Count]; Entry != NULL; Entry = NextEntry)
{
HeapFree(Entry);
NextEntry = Entry->Next;
HeapFree(Entry);
}
}
}