From cc2ed53c49d70c18c06c0f8f5a383d3a19c285c4 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 31 Mar 2010 02:43:55 +0000 Subject: [PATCH] - Fix wrong size calculation for PSymbolTable::MarkSymbols(). SVN r2259 (scripting) --- src/dobjtype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dobjtype.cpp b/src/dobjtype.cpp index 1649ca46a..4e0cdf9ea 100644 --- a/src/dobjtype.cpp +++ b/src/dobjtype.cpp @@ -490,7 +490,7 @@ size_t PSymbolTable::MarkSymbols() GC::Mark(pair->Value); count++; } - return count * sizeof(Symbols[0]); + return count * sizeof(PSymbol*); } void PSymbolTable::ReleaseSymbols()