rpcrt4: Fix memory leak in NdrFullPointerXlatFree.
Robert Shearman
rob at codeweavers.com
Wed Jan 9 04:33:19 CST 2008
First of all, the code was freeing the wrong pointer (i.e. the pointer
supplied by the caller of one of the NdrFullPointer* functions, not the
PFULL_PTR_TO_REFID_ELEMENT. Second, the code wasn't following the Next
link to the next entry in the list.
---
dlls/rpcrt4/ndr_fullpointer.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 27ee761495aa76a5ac6294b7aa857eeb0952e119.diff
Type: text/x-patch
Size: 1079 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080109/6c067c21/attachment-0001.bin
More information about the wine-patches
mailing list