How come you don't delete gameInstance?
class problems
How come you don't delete gameInstance?
The page it exists in will be freed when the application terminates. It's good form to do it anyway, but on most platforms it's not necessary in a case like this.
The real question is why it's dynamically allocated in the first place.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement