]> git.saurik.com Git - wxWidgets.git/commitdiff
Delete the timer on close in the wxWebView sample. Fixes another memory leak.
authorSteve Lamerton <steve.lamerton@gmail.com>
Wed, 5 Oct 2011 08:05:42 +0000 (08:05 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Wed, 5 Oct 2011 08:05:42 +0000 (08:05 +0000)
See #13500

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/webview/webview.cpp

index 4f679f872b3b6140fe09ce569874a922d72ebccc..df2bbf39727b8dc5ad2da28da6ccfb2feae0c09e 100644 (file)
@@ -360,6 +360,7 @@ WebFrame::WebFrame() : wxFrame(NULL, wxID_ANY, "wxWebView Sample")
 
 WebFrame::~WebFrame()
 {
+    delete m_timer;
     delete m_tools_menu;
 }