Commit 266e4aa0 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

* wxwidgets: fix a memory leak (patch by Brian Robb)

parent 14ad9f85
......@@ -214,6 +214,8 @@ DialogsProvider::~DialogsProvider()
#undef UPDATE
PopEventHandler(true);
/* Clean up */
if( p_open_dialog ) delete p_open_dialog;
if( p_prefs_dialog ) p_prefs_dialog->Destroy();
......
......@@ -341,6 +341,8 @@ Interface::~Interface()
GetPosition(), GetSize() );
}
PopEventHandler(true);
if( video_window ) delete video_window;
#ifdef wxHAS_TASK_BAR_ICON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment