[Webkit-unassigned] [Bug 28131] [Haiku] Adding font-specific files to WebCore.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 25 14:50:58 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28131


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38545|review?                     |review-
               Flag|                            |




--- Comment #32 from Oliver Hunt <oliver at apple.com>  2009-08-25 14:50:57 PDT ---
(From update of attachment 38545)

> +    font_family* fontFamily = static_cast<font_family*>(malloc(sizeof(font_family)));
> +    findMatchingFontFamily(familyName, fontFamily);

You are leaking the fontFamily allocation, this should be done as
> +    font_family fontFamily;
> +    findMatchingFontFamily(familyName, &fontFamily);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list