[BROWSEUI]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 24 Oct 2015 08:33:20 +0000 (08:33 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 24 Oct 2015 08:33:20 +0000 (08:33 +0000)
Use correct delete operator

CID 1321947

svn path=/trunk/; revision=69663

reactos/dll/win32/browseui/bandsitemenu.cpp

index 3c9d10c..b10f24f 100644 (file)
@@ -63,7 +63,7 @@ HRESULT STDMETHODCALLTYPE CBandSiteMenu::QueryContextMenu(
 
     ret = InsertMenuItemW(hmenu, 0, TRUE, &mii);
 
-    delete mii.dwTypeData;
+    delete[] mii.dwTypeData;
 
     RemoveMenu(hm, 0, MF_BYPOSITION);