[PATCH 4/5] widl: Fix a memory leak in the server/stub code when unmarshalling pointers to strings at the top level.

Rob Shearman robertshearman at gmail.com
Sat Mar 7 17:23:54 CST 2009


It is necessary for the first pointer to have an offset to a second
pointer instead of directly to the string type, since the second
pointer frees the memory for the string.
---
 tools/widl/typegen.c |   53 ++++++++++++++++++++++++++++++-------------------
 1 files changed, 32 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bf7e37624ebe52adbea5e8375df1eaa7837042a4.diff
Type: text/x-patch
Size: 5052 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090307/236de1fe/attachment.bin>


More information about the wine-patches mailing list