You let the font leak in the first variant because you don't explicitly call delete on it
I'm using this font in whole app. After closing the application, the system should take care of this. So it's only theoretical leak.
This in turn means never use sf::Font in global or static data structures.
So... It's impossible to create simple global atlas with fonts? And I must make global pointer and create object in main() and delete it before app.close() ?
it is generally regarded as bad programming practice
Hm... Better will be in many constructors use that:
CClass(CGame *, CGraph *, CTilesets *, CFonts *, CAudio *, /* finally normal data 3-5 vars */)
(CGame - game data info, CGraph - atlas of textures, CTileset - atlas of tilesets, etc)
then use some global singletons ;> ?