Merge pull request #203 from Frank-74/Glide-About-and-Config-memory-leak-fix

Glide Config/About dialog memory leak fix?
This commit is contained in:
zilmar 2015-03-05 06:31:43 +11:00
commit 9767f73f71
1 changed files with 2 additions and 0 deletions

View File

@ -1122,6 +1122,7 @@ void CALL DllConfig ( HWND hParent )
Glide64ConfigDialog* Glide64Config = new Glide64ConfigDialog(hostWindow, wxID_ANY, wxEmptyString);
Glide64Config->ShowModal();
delete hostWindow;
}
/*#ifndef _DEBUG
@ -1304,5 +1305,6 @@ void CALL DllAbout ( HWND hParent )
hostWindow->Enable();
// hostWindow->UnsubclassWin();
hostWindow->SetHWND(NULL);
delete hostWindow;
#endif
}