rpcrt4: Set fMustAlloc to TRUE when unmarshalling an object pointer.
This commit is contained in:
parent
0ada917873
commit
17132f7e1f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue