svn path=/trunk/; revision=29129
This commit is contained in:
Hervé Poussineau 2007-09-21 12:45:39 +00:00
parent 2136c852eb
commit b733bd322e

View file

@ -73,7 +73,7 @@ StringTableInitialize(VOID)
pStringTable->pSlots = MyMalloc(sizeof(TABLE_SLOT) * TABLE_DEFAULT_SIZE);
if (pStringTable->pSlots == NULL)
{
MyFree(pStringTable->pSlots);
MyFree(pStringTable);
return NULL;
}
@ -122,7 +122,7 @@ StringTableInitializeEx(DWORD dwMaxExtraDataSize,
pStringTable->pSlots = MyMalloc(sizeof(TABLE_SLOT) * TABLE_DEFAULT_SIZE);
if (pStringTable->pSlots == NULL)
{
MyFree(pStringTable->pSlots);
MyFree(pStringTable);
return NULL;
}