summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPhilippe Houdoin <phoudoin@freedesktop.org>2004-10-13 01:17:52 +0000
committerPhilippe Houdoin <phoudoin@freedesktop.org>2004-10-13 01:17:52 +0000
commitd334067193271f366b54836e8f50c7d145a7dee0 (patch)
tree1f888e5b297b63f1796b4cfc1999b206352c398b /src/mesa
parentfd7f62a50899ee385d5f2158941ab90cec7f9645 (diff)
Fix a potential memory leak.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/beos/GLView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp
index 8efbcfdbac8..7426b492bc2 100644
--- a/src/mesa/drivers/beos/GLView.cpp
+++ b/src/mesa/drivers/beos/GLView.cpp
@@ -663,7 +663,8 @@ MesaDriver::~MesaDriver()
_mesa_destroy_visual(m_glvisual);
_mesa_destroy_framebuffer(m_glframebuffer);
_mesa_destroy_context(m_glcontext);
-
+
+ delete m_bitmap;
}