Glide Config/About dialog memory leak fix?

I'm still getting this one.  Haven't a clue about it.
>Order, Source File, Line Number, Mem Size
4332,Unknown, 0, 64
This commit is contained in:
Frank-74 2015-03-04 10:51:00 +00:00
parent 8ab8459d24
commit 23833f2b82
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); Glide64ConfigDialog* Glide64Config = new Glide64ConfigDialog(hostWindow, wxID_ANY, wxEmptyString);
Glide64Config->ShowModal(); Glide64Config->ShowModal();
delete hostWindow;
} }
/*#ifndef _DEBUG /*#ifndef _DEBUG
@ -1304,5 +1305,6 @@ void CALL DllAbout ( HWND hParent )
hostWindow->Enable(); hostWindow->Enable();
// hostWindow->UnsubclassWin(); // hostWindow->UnsubclassWin();
hostWindow->SetHWND(NULL); hostWindow->SetHWND(NULL);
delete hostWindow;
#endif #endif
} }