From: Pierre Schweitzer Date: Sat, 24 Oct 2015 08:33:20 +0000 (+0000) Subject: [BROWSEUI] X-Git-Tag: ReactOS-0.4.0~392 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=00e9309787616b8b419889221d0e95378061053e [BROWSEUI] Use correct delete operator CID 1321947 svn path=/trunk/; revision=69663 --- diff --git a/reactos/dll/win32/browseui/bandsitemenu.cpp b/reactos/dll/win32/browseui/bandsitemenu.cpp index 3c9d10c8489..b10f24f1eea 100644 --- a/reactos/dll/win32/browseui/bandsitemenu.cpp +++ b/reactos/dll/win32/browseui/bandsitemenu.cpp @@ -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);