[Gdiplus 1/6] Valgrind: Fix a memory leak

Adam Petaccia adam at tpetaccia.com
Tue Jul 22 22:06:33 CDT 2008

If this patch is rejected, the others will still apply and I will drop this from my tree.

Technically a leak shouldn't occur here as the call before it is invalid, but because Gdiplus doesn't correctly handle this, we should call delete and expect an InvalidParamter return.
 dlls/gdiplus/tests/font.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7489ac20febc26f4bfdd411a13a1d77b6b2213ac.diff
Type: text/x-patch
Size: 454 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080722/34657634/attachment.bin 

More information about the wine-patches mailing list