mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 06:44:37 +08:00
Operator new[] should go with delete[]
svn path=/trunk/; revision=34168
This commit is contained in:
@@ -365,8 +365,8 @@ LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
|
||||
DeleteObject(SelectObject(HMemDC, HOldBmp));
|
||||
DeleteDC(HMemDC);
|
||||
|
||||
if (bbits)
|
||||
delete bbits;
|
||||
if (bbits)
|
||||
delete[] bbits;
|
||||
|
||||
PostQuitMessage(0);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user