Seth A. Robinson
2006-02-18 04:09:41 UTC
Noticed a huge number of mostly GUI related leaks in my program.
To verify, I ran AQTime (memory leak checker) with the GUIWindow example and
it showed around 450KB being leaked in 8000+ leaks (!).
What's in this patch:
* Fixed mem leaks in CL_Directory
* Fixed mem leak in resource_manager_generic.cpp
* Fixed mem leak in menu_node_generic.cpp
* Fixed mem leak in component.cpp by setting delete children to true in
constructors
After doing these changes, it now reports 0 leaks.
Warning: I only tested with the GUIWindow example and my software.
-Seth (mrfun on irc)
To verify, I ran AQTime (memory leak checker) with the GUIWindow example and
it showed around 450KB being leaked in 8000+ leaks (!).
What's in this patch:
* Fixed mem leaks in CL_Directory
* Fixed mem leak in resource_manager_generic.cpp
* Fixed mem leak in menu_node_generic.cpp
* Fixed mem leak in component.cpp by setting delete children to true in
constructors
After doing these changes, it now reports 0 leaks.
Warning: I only tested with the GUIWindow example and my software.
-Seth (mrfun on irc)