fixed memory leak in wxLogChain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2863d6b0cf
commit
8b30a4e4d6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user