rpcrt4: Initialise the memory in test_simple_struct_marshal before passing it to...
commiteef207e3f11a0e9c0eddde21ce3737d85bf0a2ec
authorRob Shearman <rob@codeweavers.com>
Fri, 30 Nov 2007 22:03:39 +0000 (30 22:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 3 Dec 2007 12:10:21 +0000 (3 13:10 +0100)
tree3725db5c8b781b6fed9ea71f1e9cb5715d2946b7
parent49a5f7cb12acb7bb8e6b8c9ebc66c7089db10592
rpcrt4: Initialise the memory in test_simple_struct_marshal before passing it to NdrSimpleStructUnmarshall.

Otherwise, the unmarshalling code will read from unintialised memory
when trying to reuse the embedded pointers in the memory block.

Also fix a couple of memory leaks.
dlls/rpcrt4/tests/ndr_marshall.c