Commit 17132f7e authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent 0ada9178
...@@ -988,7 +988,7 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment