Commit b6f28fc7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ole32: Fix a handle leak in local_server_thread().

parent 8371784f
...@@ -1936,7 +1936,12 @@ static DWORD WINAPI local_server_thread(LPVOID param) ...@@ -1936,7 +1936,12 @@ static DWORD WINAPI local_server_thread(LPVOID param)
TRACE("marshalling IClassFactory to client\n"); TRACE("marshalling IClassFactory to client\n");
hres = IStream_Stat(pStm,&ststg,STATFLAG_NONAME); hres = IStream_Stat(pStm,&ststg,STATFLAG_NONAME);
if (hres) return hres; if (hres)
{
CloseHandle(hPipe);
CloseHandle(pipe_event);
return hres;
}
seekto.u.LowPart = 0; seekto.u.LowPart = 0;
seekto.u.HighPart = 0; seekto.u.HighPart = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment