oleaut32: Don't call SafeArrayAllocData in LPSAFEARRAY_UserUnmarshal if we called SafeArrayCreateEx instead of SafeArrayAllocDescriptor.

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


Otherwise, we'll leak memory.
---
  dlls/oleaut32/usrmarshal.c |   11 ++++++++---
  1 files changed, 8 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c0d4311ba9cfb1d799dbece20c59994bc63bff9e.diff
Type: text/x-patch
Size: 829 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071207/6f5297c9/attachment.bin 


More information about the wine-patches mailing list