[Libreoffice-commits] core.git: vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Thu May 22 18:07:44 PDT 2014


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

New commits:
commit c68c5e753de14579ba8a5f8bd5360bc0e3fd7c33
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 cba0b52..974f913 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