Follow-up Comment #1, bug #10866 (project wormux):
I think it has to do with the font destructor (and my forcing it through the
addition of Font::ReleaseInstances).
There's a browsing that didn't make sens, erasing an element from a list that
doesn't have it (erase(it->second) instead of erase(it)). Furthermore, this is
unneeded, because clearing the std::map's content will simply force the mapped
elements to go out of scope, therefore calling their destructors.
At least the simple call to surface_text_table.clear(); reduce the memory
leak AND remove warnings in valgrind output.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10866>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna