mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
- tighten up code.. ensure pointers set to null after delete, etc
This commit is contained in:
@@ -77,6 +77,7 @@ void FontManager::end() {
|
||||
if(fonts[i] != NULL) {
|
||||
fonts[i]->end();
|
||||
delete fonts[i];
|
||||
fonts[i]=NULL;
|
||||
}
|
||||
}
|
||||
fonts.clear();
|
||||
|
Reference in New Issue
Block a user