Hi, wt team.
There is a memory leak in wt.
You need to declare WApplication destructor virtual.
Otherwise you'll have memleak in applications that inherit from
WApplication, like treeview-dragdrop example.
Patch attached.
--- src/Wt/WApplication.orig 2012-04-12 21:16:33.860000001 +0000
+++ src/Wt/WApplication 2012-04-12 21:16:39.080000001 +0000
@@ -230,7 +230,7 @@ public:
* The destructor deletes the root() container, and as a consequence
* the entire widget tree.
*/
- ~WApplication();
+ virtual ~WApplication();
#endif // WT_TARGET_JAVA
/*! \brief Returns the current application instance.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest