ole32: Fix a handle leak in local_server_thread().
This commit is contained in:
parent
8371784ff6
commit
b6f28fc70f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue