Sebastian Lackner : ole32: Fix a possible handle leak (Coverity).
Module: wine Branch: master Commit: 83aca6e7aa6ed8d32d987f6f81e917658484e398 URL: http://source.winehq.org/git/wine.git/?a=commit;h=83aca6e7aa6ed8d32d987f6f81... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Wed Mar 11 01:25:27 2015 +0100 ole32: Fix a possible handle leak (Coverity). --- dlls/ole32/rpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index dd67546..ce39849 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -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; }
participants (1)
-
Alexandre Julliard