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

@ -366,7 +366,7 @@ LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
DeleteDC(HMemDC); DeleteDC(HMemDC);
if (bbits) if (bbits)
delete bbits; delete[] bbits;
PostQuitMessage(0); PostQuitMessage(0);
return 0; return 0;