From: Philippe Houdoin Date: Wed, 13 Oct 2004 01:17:52 +0000 (+0000) Subject: Fix a potential memory leak. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d334067193271f366b54836e8f50c7d145a7dee0;p=mesa.git Fix a potential memory leak. --- 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; }