[cairo-bugs] [Bug 19209] New: src/cairo-quartz-font.c:146: Memory leak: full_name

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 20 11:11:11 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=19209

           Summary: src/cairo-quartz-font.c:146: Memory leak: full_name
           Product: cairo
           Version: 1.9.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: dvice_null at yahoo.com
         QAContact: cairo-bugs at cairographics.org


This was found from the latest git version.

In file src/cairo-quartz-font.c:146: 
Variable full_name leaks memory when this "if" is executed:

    if (! _cairo_quartz_font_symbols_present)
        return _cairo_error (CAIRO_STATUS_NO_MEMORY);

This bug was found using cppcheck: http://cppcheck.wiki.sourceforge.net/


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list