mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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));
|
DeleteObject(SelectObject(HMemDC, HOldBmp));
|
||||||
DeleteDC(HMemDC);
|
DeleteDC(HMemDC);
|
||||||
|
|
||||||
if (bbits)
|
if (bbits)
|
||||||
delete bbits;
|
delete[] bbits;
|
||||||
|
|
||||||
PostQuitMessage(0);
|
PostQuitMessage(0);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue