SFML / SFML-Game-Development-Book

Full and up-to-date source code of the chapters of the "SFML Game Development" book
Other
923 stars 231 forks source link

No virtual destructor in SceneNode #6

Closed some-mthfka closed 8 years ago

some-mthfka commented 8 years ago

No SceneNode class contains a virtual destructor declaration, while it is a base class with many other virtual functions. I suppose it is a bug, causing memory leaks.

Bromeon commented 8 years ago

You could have waited for the response here before opening an issue, because as mentioned, SceneNode's base classes have virtual destructors.