rpcrt4: Set fMustAlloc to TRUE when unmarshalling an object pointer.

This commit is contained in:
Rob Shearman 2007-12-05 11:56:14 +00:00 committed by Alexandre Julliard
parent 0ada917873
commit 17132f7e1f
1 changed files with 1 additions and 1 deletions

View File

@ -988,7 +988,7 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
if (!fMustAlloc && pSrcPointer) if (!fMustAlloc && pSrcPointer)
{ {
FIXME("free object pointer %p\n", pSrcPointer); FIXME("free object pointer %p\n", pSrcPointer);
pSrcPointer = NULL; fMustAlloc = TRUE;
} }
if (pointer_id) if (pointer_id)
pointer_needs_unmarshaling = 1; pointer_needs_unmarshaling = 1;