[ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
[reactos.git] / 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;