Author: hpoussin
Date: Sat Jun 28 14:49:04 2008
New Revision: 34168
URL:
http://svn.reactos.org/svn/reactos?rev=34168&view=rev
Log:
Operator new[] should go with delete[]
Modified:
trunk/rostests/tests/stretchblt/stretchblt.cpp
Modified: trunk/rostests/tests/stretchblt/stretchblt.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/tests/stretchblt/stretchb…
==============================================================================
--- trunk/rostests/tests/stretchblt/stretchblt.cpp [iso-8859-1] (original)
+++ trunk/rostests/tests/stretchblt/stretchblt.cpp [iso-8859-1] Sat Jun 28 14:49:04 2008
@@ -365,8 +365,8 @@
DeleteObject(SelectObject(HMemDC, HOldBmp));
DeleteDC(HMemDC);
- if (bbits)
- delete bbits;
+ if (bbits)
+ delete[] bbits;
PostQuitMessage(0);
return 0;