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

New commits:
commit c68c5e753de14579ba8a5f8bd5360bc0e3fd7c33
Author: Markus Mohrhard <markus.mohrh...@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
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to