rpcrt4: We don't need to free object pointers if we are told we must allocate.

This commit is contained in:
Robert Shearman 2006-05-19 16:04:11 +01:00 committed by Alexandre Julliard
parent a2767e8d71
commit 9c885c9185
1 changed files with 1 additions and 1 deletions

View File

@ -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: