ole32: Fix a possible handle leak (Coverity).

This commit is contained in:
Sebastian Lackner 2015-03-11 01:25:27 +01:00 committed by Alexandre Julliard
parent b1fc62a213
commit 83aca6e7aa
1 changed files with 1 additions and 0 deletions

View File

@ -1850,6 +1850,7 @@ HRESULT RPC_GetLocalClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
bufferlen = 0;
if (!ReadFile(hPipe,marshalbuffer,sizeof(marshalbuffer),&bufferlen,NULL)) {
FIXME("Failed to read marshal id from classfactory of %s.\n",debugstr_guid(rclsid));
CloseHandle(hPipe);
Sleep(1000);
continue;
}