diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-23 02:11:23 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-23 02:50:42 +0200 |
commit | cfaa96546aa0fe347ee169f411d45370eb21810a (patch) | |
tree | 992afe3bbc8f4cdb18a2e1f926eef16d8df337fa /vcl | |
parent | a1e7915bfec4b9e006a0fc4c6819b63b139af2f0 (diff) |
Lsan: fix memory leak
Change-Id: I82a517a267cceaac4dd1030d45c67fc070e22def
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index fb3bd72b65c6..cba0b52357f1 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -19,6 +19,13 @@ using namespace com::sun::star; +GLWindow::~GLWindow() +{ +#if defined( UNX ) + XFree(vi); +#endif +} + OpenGLContext::OpenGLContext(): mpWindow(NULL), m_pChildWindow(NULL), |