[cairo-bugs] [Bug 5100] New: patterns leak

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 19 13:41:28 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5100          
     
           Summary: patterns leak
           Product: cairo
           Version: 1.1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: remenic at gmail.com
         QAContact: cairo-bugs at cairographics.org


The attached test-case shows memory leaking from _cairo_gradient_pattern_init_copy. 

Here's the valgrind output:

==8450== 88 bytes in 1 blocks are definitely lost in loss record 3 of 5
==8450==    at 0x1B902338: malloc (vg_replace_malloc.c:130)
==8450==    by 0x1B9239FE: _cairo_gradient_pattern_init_copy (cairo-pattern.c:166)
==8450==    by 0x1B923B20: _cairo_pattern_init_copy (cairo-pattern.c:205)
==8450==    by 0x1B913F00: _cairo_gstate_copy_transformed_pattern
(cairo-gstate.c:699)
==8450==    by 0x1B913F86: _cairo_gstate_copy_transformed_source
(cairo-gstate.c:713)
==8450==    by 0x1B915772: _cairo_gstate_fill (cairo-gstate.c:1569)
==8450==    by 0x1B90F960: cairo_fill_preserve (cairo.c:1598)
==8450==    by 0x1B90F926: cairo_fill (cairo.c:1576)
==8450==    by 0x80487B0: main (in /home/remenic/cairo-pattern-leak)          
     
     
--           
Configure bugmail: https://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