mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
Fix a rather heinous memory bug. Don't delete things on the stack!
This commit is contained in:
@@ -94,8 +94,6 @@ void Application::Exit()
|
||||
if (m_dlg)
|
||||
{
|
||||
m_dlg->DestroyWindow();
|
||||
delete m_dlg;
|
||||
m_dlg = NULL;
|
||||
}
|
||||
::PostQuitMessage(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user