More deleaking

Originally committed to SVN as r61.
This commit is contained in:
Fredrik Mellbin 2006-02-03 00:58:26 +00:00
parent 715a346d84
commit c84a44dc59
1 changed files with 4 additions and 0 deletions

View File

@ -376,6 +376,10 @@ void FrameMain::InitContents() {
} }
void FrameMain::DeInitContents() { void FrameMain::DeInitContents() {
//ghetto hack to free all AssFile junk properly, eliminates lots of memory leaks
AssFile::StackReset();
delete AssFile::top;
delete EditBox; delete EditBox;
delete videoBox; delete videoBox;
} }