mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Operator new[] should go with delete[]
svn path=/trunk/; revision=34168
This commit is contained in:
parent
0c8aa0ca08
commit
87f7930820
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue