<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - shader compilation leaks glsl_type instances"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105090">bug 105090</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - shader compilation leaks glsl_type instances"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105090#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - shader compilation leaks glsl_type instances"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105090">bug 105090</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>Since this is EGL your program should call following at the very end:

eglMakeCurrent(egl_dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
eglTerminate(egl_dpy);

This will cleanup all the resources properly, as per spec glDeleteShader,
glDeleteProgram only marks shader for deletion but does not actually delete it
right away.

However for a server application, there actually exists <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - memory leak with intel i965 mesa when running android container in Ubuntu"
   href="show_bug.cgi?id=104884">bug #104884</a> which is
related to these very same resources as well.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>