mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 17:59:08 +02:00
Fix a few leaks in the Windows UI code.
This commit is contained in:
1 parent
39d1f4986d
commit
8f09a341df
7 files changed
+25
-2
No files matched your search
@@ -171,7 +171,7 @@ CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Di
|
||||
bottomTabs->ShowTab(memHandle);
|
||||
|
||||
// init status bar
|
||||
statusBarWnd = CreateStatusWindow(WS_CHILD | WS_VISIBLE, L"", m_hDlg, IDC_DISASMSTATUSBAR);
|
||||
statusBarWnd = CreateWindowEx(0, STATUSCLASSNAME, L"", WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, m_hDlg, (HMENU)IDC_DISASMSTATUSBAR, _hInstance, NULL);
|
||||
if (g_Config.bDisplayStatusBar == false)
|
||||
{
|
||||
ShowWindow(statusBarWnd,SW_HIDE);
|
||||
@@ -187,6 +187,14 @@ CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Di
|
||||
|
||||
CDisasm::~CDisasm()
|
||||
{
|
||||
DestroyWindow(statusBarWnd);
|
||||
|
||||
delete leftTabs;
|
||||
delete bottomTabs;
|
||||
delete breakpointList;
|
||||
delete threadList;
|
||||
delete stackTraceView;
|
||||
delete moduleList;
|
||||
}
|
||||
|
||||
void CDisasm::stepInto()
|
||||
|
||||
Reference in new issue
Block a user