Operator new[] should go with delete[]

svn path=/trunk/; revision=34168
This commit is contained in:
Hervé Poussineau 2008-06-28 19:49:04 +00:00
parent 0c8aa0ca08
commit 87f7930820

View file

@ -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;