- Fix wrong size calculation for PSymbolTable::MarkSymbols().

SVN r2259 (scripting)
This commit is contained in:
Randy Heit 2010-03-31 02:43:55 +00:00
parent d87d2c731f
commit cc2ed53c49

View file

@ -490,7 +490,7 @@ size_t PSymbolTable::MarkSymbols()
GC::Mark(pair->Value); GC::Mark(pair->Value);
count++; count++;
} }
return count * sizeof(Symbols[0]); return count * sizeof(PSymbol*);
} }
void PSymbolTable::ReleaseSymbols() void PSymbolTable::ReleaseSymbols()