rpcrt4: Reverse the conditions for which *pPointer is assigned base_ptr_val in Pointe...
commitd8e467b0fd66ef6032580727b41979668e8aa4ef
authorRob Shearman <rob@codeweavers.com>
Fri, 30 Nov 2007 21:31:47 +0000 (30 21:31 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 3 Dec 2007 12:10:21 +0000 (3 13:10 +0100)
tree107b6922685dfe595c0bb9196c083863b9a60a98
parenteef207e3f11a0e9c0eddde21ce3737d85bf0a2ec
rpcrt4: Reverse the conditions for which *pPointer is assigned base_ptr_val in PointerUnmarshall.

In one condition (fMustAlloc == TRUE), base_ptr_val may be uninitialised
and so cause a valgrind warning. Reversing the check is harmless and
doesn't result in a performance decrease.
dlls/rpcrt4/ndr_marshall.c