[Libreoffice-commits] core.git: Branch 'feature/chart-3d-chart2' - vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Thu May 22 18:08:00 PDT 2014


 vcl/source/opengl/OpenGLContext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1766f4b4ca28fa03cc94f373cf52a0af1cfb863c
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri May 23 03:01:35 2014 +0200

    the variable is only available on linux

diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index e07b341..7221101 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -21,7 +21,7 @@ using namespace com::sun::star;
 
 GLWindow::~GLWindow()
 {
-#if defined( UNX )
+#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
     XFree(vi);
 #endif
 }


More information about the Libreoffice-commits mailing list