mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 13:33:32 +08:00
[RPCRT4] Check hBinding != 0 CORE-16936
To prevent logspam that was introduced when syncing
to Wine Staging 4.18 in 0.4.14-dev-422-g
6feb8748d3
Thanks for anyone helping: Doug Lyons,
Fabian Maurer (Wine), Zebediah Figura (Wine)
I intend to port it back into 0.4.14RC so that
none of our releases will be affected.
This commit is contained in:
parent
9835710f7e
commit
1cc84c6db7
@ -402,7 +402,11 @@ static void client_free_handle(
|
||||
pArg = ARG_FROM_OFFSET(pStubMsg->StackTop, pDesc->offset);
|
||||
memcpy(&pObject, pArg, pDesc->flag_and_size & 0xf);
|
||||
pGenPair = &pStubMsg->StubDesc->aGenericBindingRoutinePairs[pDesc->binding_routine_pair_index];
|
||||
#ifdef __REACTOS__
|
||||
if (hBinding) pGenPair->pfnUnbind(pObject, hBinding);
|
||||
#else
|
||||
pGenPair->pfnUnbind(pObject, hBinding);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case FC_BIND_CONTEXT: /* explicit context */
|
||||
|
Loading…
Reference in New Issue
Block a user