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

James Hawkins truiken at gmail.com
Tue Jul 22 22:15:22 CDT 2008

On Tue, Jul 22, 2008 at 10:06 PM, Adam Petaccia <adam at tpetaccia.com> wrote:
> 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.

Shouldn't GdipCreateFontFamilyFromName be fixed to free the handle in
this error case?  Also, if you have a patch in a series that no later
patch depends on, please don't add it to the series numbering.

James Hawkins

More information about the wine-devel mailing list