Commit: 84c44e026e09a6817f604af1f115c1ebc3297d0b
Author: Campbell Barton
Date:   Fri Sep 11 01:48:31 2015 +1000
Branches: master
https://developer.blender.org/rB84c44e026e09a6817f604af1f115c1ebc3297d0b

Fix leak in ContextGLX

===================================================================

M       intern/ghost/intern/GHOST_ContextGLX.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp 
b/intern/ghost/intern/GHOST_ContextGLX.cpp
index 6d26666..02b43ab 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -246,6 +246,7 @@ GHOST_TSuccess GHOST_ContextGLX::initializeDrawingContext()
 
                if (framebuffer_config) {
                        m_context = glXCreateContextAttribsARB(m_display, 
framebuffer_config[0], s_sharedContext, True, attribs);
+                       XFree(framebuffer_config);
                }
        }
        else {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to