diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-10 18:48:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-10 18:48:31 +0300 |
commit | 84c44e026e09a6817f604af1f115c1ebc3297d0b (patch) | |
tree | a12cb5b173f8f46ace5d6e48f6d8450d76be80c2 /intern | |
parent | 1d1b8bb1968a96dc594c62aacab6e9b82256c346 (diff) |
Fix leak in ContextGLX
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextGLX.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp index 6d26666a748..02b43abec6c 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 { |