Fix a potential memory leak.
authorPhilippe Houdoin <phoudoin@freedesktop.org>
Wed, 13 Oct 2004 01:17:52 +0000 (01:17 +0000)
committerPhilippe Houdoin <phoudoin@freedesktop.org>
Wed, 13 Oct 2004 01:17:52 +0000 (01:17 +0000)
src/mesa/drivers/beos/GLView.cpp

index 8efbcfdbac8eab5e3f21b70c7328aaecca6b8996..7426b492bc2f90b5c914ba2d17b18863a73925af 100644 (file)
@@ -663,7 +663,8 @@ MesaDriver::~MesaDriver()
    _mesa_destroy_visual(m_glvisual);
    _mesa_destroy_framebuffer(m_glframebuffer);
    _mesa_destroy_context(m_glcontext);
-
+   
+   delete m_bitmap;
 }