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