mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-02 17:02:25 +00:00
- Fix wrong size calculation for PSymbolTable::MarkSymbols().
SVN r2259 (scripting)
This commit is contained in:
parent
d87d2c731f
commit
cc2ed53c49
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue