- tighten up code.. ensure pointers set to null after delete, etc

This commit is contained in:
Mark Vejvoda
2013-02-01 17:25:49 +00:00
parent bff9b1b3bc
commit 8dc637527a
19 changed files with 54 additions and 13 deletions

View File

@@ -77,6 +77,7 @@ void FontManager::end() {
if(fonts[i] != NULL) {
fonts[i]->end();
delete fonts[i];
fonts[i]=NULL;
}
}
fonts.clear();