rpcrt4: Unmarshalling functions should always set fMustAlloc when allocating memory.
commit59158fb25ce0b8d8f75fd44137085908a53bbafa
authorRob Shearman <robertshearman@gmail.com>
Sat, 10 Jan 2009 22:17:15 +0000 (10 22:17 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Jan 2009 12:07:31 +0000 (12 13:07 +0100)
treecd298b250234d8923523ddf27976fa6300ca4b70
parent17a30ff2e8ab5fbd29e8fe86a3cf98d2221c8658
rpcrt4: Unmarshalling functions should always set fMustAlloc when allocating memory.

The memory is uninitialised and so further unmarshalling shouldn't try
to reuse any memory. fMustAlloc is always set to TRUE when allocating
memory so that it is clear that the unmarshalling is safe and to avoid
future problems with change or the code being copied.
dlls/rpcrt4/ndr_marshall.c