[cairo-bugs] [Bug 11017] New: Memory leak by pattern cache

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 21 08:18:39 PDT 2007


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

           Summary: Memory leak by pattern cache
           Product: cairo
           Version: 1.4.6
          Platform: All
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: horakm at centrum.cz
         QAContact: cairo-bugs at cairographics.org


Hello,

after calling the following two function

cairo_create;
cairo_destroy;

I encountered a memory leak 136 bytes long. The memory is allocated by function
_cairo_pattern_create_solid for new pattern and when I call cairo_destroy()
allocated memory is not freed, but the pointer is stored to static variable
solid_pattern_cache. Is there any function to explicitly erase the cache or is
it a bug?

Regards,
Martin


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


More information about the cairo-bugs mailing list