rpcrt4: We don't need to free object pointers if we are told we must allocate.
This commit is contained in:
parent
a2767e8d71
commit
9c885c9185
|
@ -822,7 +822,7 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
case RPC_FC_OP: /* object pointer - we must free data before overwriting it */
|
||||
pointer_id = NDR_LOCAL_UINT32_READ(Buffer);
|
||||
TRACE("pointer_id is 0x%08lx\n", pointer_id);
|
||||
if (*pPointer)
|
||||
if (!fMustAlloc && *pPointer)
|
||||
FIXME("free object pointer %p\n", *pPointer);
|
||||
break;
|
||||
case RPC_FC_FP:
|
||||
|
|
Loading…
Reference in New Issue