Commit c74de4a1 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rpcrt4: Actually set an unmarshalled object ptr to NULL when a NULL pointer id is received.

parent 99c23ccf
......@@ -861,7 +861,10 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
if (pointer_id)
pointer_needs_unmarshaling = 1;
else
{
*pPointer = NULL;
pointer_needs_unmarshaling = 0;
}
break;
case RPC_FC_FP:
pointer_id = NDR_LOCAL_UINT32_READ(Buffer);
......
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