mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
svn path=/trunk/; revision=75927
This commit is contained in:
parent
6192c20ab7
commit
8749cbd5b9
|
@ -494,7 +494,7 @@ INT_PTR CALLBACK CLayerUIPropPage::EditModesProc(HWND hWnd, UINT uMsg, WPARAM wP
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
CComBSTR str;
|
CComHeapPtr<OLECHAR> str;
|
||||||
HRESULT hr = pList.Next(1, &str, NULL);
|
HRESULT hr = pList.Next(1, &str, NULL);
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue