<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Memory leak in cairo-gl-operand.c"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91537">91537</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory leak in cairo-gl-operand.c
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>gl backend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sahil.vij@samsung.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre><a href="http://cgit.freedesktop.org/cairo/tree/src/cairo-gl-operand.c">http://cgit.freedesktop.org/cairo/tree/src/cairo-gl-operand.c</a> , 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>