widl: Fix the conditions under which array freeing code is output.

Robert Shearman rob at codeweavers.com
Mon Jan 7 04:17:32 CST 2008


It doesn't matter whether or not the array is declared as a pointer or 
is declared using array subscripts - the array is still allocated by the 
unmarshalling function and so needs to be freed.

Fix a typo that caused varying arrays never to be freed.

Fix another typo with the check for conformant arrays being performed 
twice, redundantly.
---
  tools/widl/typegen.c |    9 ++++-----
  1 files changed, 4 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2561224c2b3cf7e25d8bbd432f25915c531b761d.diff
Type: text/x-patch
Size: 1278 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080107/e098f693/attachment.bin 


More information about the wine-patches mailing list