From d334067193271f366b54836e8f50c7d145a7dee0 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 13 Oct 2004 01:17:52 +0000 Subject: [PATCH] Fix a potential memory leak. --- src/mesa/drivers/beos/GLView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2