Re: [Gdiplus 1/6] Valgrind: Fix a memory leak
23 Jul
2008
23 Jul
'08
3:15 a.m.
On Tue, Jul 22, 2008 at 10:06 PM, Adam Petaccia <adam(a)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
6352
Age (days ago)
6352
Last active (days ago)
0 comments
1 participants
participants (1)
-
James Hawkins