rpcrt4: Fix the memory pointer passed into the conformant array marshaller in NdrComplexStructMarshall.

It needs to be the end of the memory used by the constant part of the
structure, which is returned by CompkexStructMarshall.
This commit is contained in:
Rob Shearman 2008-07-15 23:35:40 +01:00 committed by Alexandre Julliard
parent 7f741f0414
commit 8af1dba5a9
1 changed files with 1 additions and 1 deletions

View File

@ -2858,7 +2858,7 @@ unsigned char * WINAPI NdrComplexStructMarshall(PMIDL_STUB_MESSAGE pStubMsg,
pStubMsg->Memory = pMemory; pStubMsg->Memory = pMemory;
ComplexMarshall(pStubMsg, pMemory, pFormat, pointer_desc); pMemory = ComplexMarshall(pStubMsg, pMemory, pFormat, pointer_desc);
if (conf_array) if (conf_array)
NdrConformantArrayMarshall(pStubMsg, pMemory, conf_array); NdrConformantArrayMarshall(pStubMsg, pMemory, conf_array);