ole32: Fix a possible handle leak (Coverity).
This commit is contained in:
parent
b1fc62a213
commit
83aca6e7aa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue