From: Steve Lamerton Date: Wed, 5 Oct 2011 08:05:42 +0000 (+0000) Subject: Delete the timer on close in the wxWebView sample. Fixes another memory leak. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/24fb46ea48f1dc7d185b5cdf551077cdcc533d54 Delete the timer on close in the wxWebView sample. Fixes another memory leak. See #13500 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/webview/webview.cpp b/samples/webview/webview.cpp index 4f679f872b..df2bbf3972 100644 --- a/samples/webview/webview.cpp +++ b/samples/webview/webview.cpp @@ -360,6 +360,7 @@ WebFrame::WebFrame() : wxFrame(NULL, wxID_ANY, "wxWebView Sample") WebFrame::~WebFrame() { + delete m_timer; delete m_tools_menu; }