[cairo-bugs] [Bug 91537] New: Memory leak in cairo-gl-operand.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 3 03:37:25 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91537

            Bug ID: 91537
           Summary: Memory leak in cairo-gl-operand.c
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gl backend
          Assignee: cairo-bugs at cairographics.org
          Reporter: sahil.vij at samsung.com
        QA Contact: cairo-bugs at cairographics.org

http://cgit.freedesktop.org/cairo/tree/src/cairo-gl-operand.c , At line 303 and
312

At _cairo_gl_pattern_texture_setup() API

If _cairo_gl_context_release (ctx, status) (line 303) and
 _cairo_gl_context_acquire (dst->base.device, &ctx) (line 312) 
do not return non-zero status, 

Then jump is made to "goto fail" (line 305 and 314 respectively) and the memory
allocated to "image" is not freed which is a memory leak.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150803/987405ec/attachment.html>


More information about the cairo-bugs mailing list