rpcrt4: Reverse the conditions for which *pPointer is assigned base_ptr_val in PointerUnmarshall.

Robert Shearman rob at codeweavers.com
Fri Nov 30 15:31:47 CST 2007

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 |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df61a27bbc8d984b3c6c9ceb897e47ef9f815374.diff
Type: text/x-patch
Size: 609 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071130/491f6ddd/attachment.bin 

More information about the wine-patches mailing list