actually free the renderbuffer in xmesa_delete_renderbuffer(), fixes a memory leak

This commit is contained in:
Brian Paul
2005-08-09 15:17:19 +00:00
parent e78a3c42e4
commit d2e289c70f

View File

@@ -33,7 +33,11 @@
static void
xmesa_delete_renderbuffer(struct gl_renderbuffer *rb)
{
/* XXX this routine should really delete the attached ximage, etc. */
/* XXX Note: the ximage or Pixmap attached to this renderbuffer
* should probably get freed here, but that's currently done in
* XMesaDestroyBuffer().
*/
_mesa_free(rb);
}