rpcrt4: Improve PointerFree to not free buffer memory.

Robert Shearman rob at codeweavers.com
Fri Dec 7 08:13:45 CST 2007


---
  dlls/rpcrt4/ndr_marshall.c       |   25 +++++--------------------
  dlls/rpcrt4/tests/ndr_marshall.c |    2 ++
  2 files changed, 7 insertions(+), 20 deletions(-)

This patch introduces a todo_wine, but this is only because the previous 
code was freeing the buffer and thus resulting in a double-free later 
when the buffer is supposed to be freed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4b7069fe8fe96a2f81895b96cb0e4cdaf25f29b5.diff
Type: text/x-patch
Size: 1884 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071207/271a2fae/attachment.bin 


More information about the wine-patches mailing list