[cairo-bugs] [Bug 19208] New: src/cairo-os2-surface.c:791: Memory leak: local_os2_surface

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


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

           Summary: src/cairo-os2-surface.c:791: Memory leak:
                    local_os2_surface
           Product: cairo
           Version: 1.9.1
          Platform: All
        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 bug was found from the latest git version. 

In file src/cairo-os2-surface.c:79: 
Variable local_os2_surface leaks memory when this "if" is executed:

    if (rc != NO_ERROR) {
        /* Could not create mutex semaphore! */
        return _cairo_surface_create_in_error (_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