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

This commit is contained in:
Huw Davies 2008-10-01 13:43:37 -05:00 committed by Alexandre Julliard
parent 99c23ccf35
commit c74de4a1ce

View file

@ -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);