From 8b30a4e4d68084d5bd2e775685d09e72055f4ccf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Apr 2002 22:14:49 +0000 Subject: [PATCH] fixed memory leak in wxLogChain git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/log.h b/include/wx/log.h index edbddebb63..28272c9b9c 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -313,7 +313,7 @@ class WXDLLEXPORT wxLogChain : public wxLog { public: wxLogChain(wxLog *logger); - virtual ~wxLogChain() { delete m_logOld; } + virtual ~wxLogChain(); // change the new log target void SetLog(wxLog *logger); -- 2.50.0