Skip to content
Snippets Groups Projects
Commit b6f28fc7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard
Browse files

ole32: Fix a handle leak in local_server_thread().

parent 8371784f
No related branches found
No related tags found
No related merge requests found
......@@ -1936,7 +1936,12 @@ static DWORD WINAPI local_server_thread(LPVOID param)
TRACE("marshalling IClassFactory to client\n");
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.HighPart = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment