rpcrt4: Free server side arguments with MustFree flag first so other arguments may...
commit614afcefa33c727f31d566c3d7ee05d74afc363f
authorPiotr Caban <piotr@codeweavers.com>
Mon, 7 Sep 2015 16:45:10 +0000 (7 18:45 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 8 Sep 2015 05:49:21 +0000 (8 14:49 +0900)
tree65863a03b2aa906562584265ae52d061da75df8c
parent98aa8528d53365f497b9b6ef9b471aec420b1177
rpcrt4: Free server side arguments with MustFree flag first so other arguments may be used to determine its size.

This also fixes a leak when both MustFree and ServerAllocSize flags are
specified.
dlls/rpcrt4/ndr_stubless.c
dlls/rpcrt4/ndr_stubless.h