[ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
authorMark Jansen <mark.jansen@reactos.org>
Fri, 22 Sep 2017 19:42:08 +0000 (19:42 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Fri, 22 Sep 2017 19:42:08 +0000 (19:42 +0000)
svn path=/trunk/; revision=75927

reactos/dll/shellext/acppage/CLayerUIPropPage.cpp

index 4ff0c38..10739dd 100644 (file)
@@ -494,7 +494,7 @@ INT_PTR CALLBACK CLayerUIPropPage::EditModesProc(HWND hWnd, UINT uMsg, WPARAM wP
 
             while (TRUE)
             {
-                CComBSTR str;
+                CComHeapPtr<OLECHAR> str;
                 HRESULT hr = pList.Next(1, &str, NULL);
                 if (hr != S_OK)
                     break;