aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/glx
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-03 13:09:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-03 13:09:15 +0100
commit8cdccdcf1efa57a8d540c25dd20942ec4cee78db (patch)
tree43f20b20620e6174d8d697d3df5a5e39ac7132de /nx-X11/programs/Xserver/GL/glx
parent7011de155a1063a77cbab2f4d1ca599e23d7b102 (diff)
parent6e770378c3ec579b3e25315f0c951e838956199e (diff)
downloadnx-libs-8cdccdcf1efa57a8d540c25dd20942ec4cee78db.tar.gz
nx-libs-8cdccdcf1efa57a8d540c25dd20942ec4cee78db.tar.bz2
nx-libs-8cdccdcf1efa57a8d540c25dd20942ec4cee78db.zip
Merge branch 'sunweaver-pr/happyvalgrind-in-glXQueryVersion' into 3.6.x
Attributes GH PR #374: https://github.com/ArcticaProject/nx-libs/pull/374
Diffstat (limited to 'nx-X11/programs/Xserver/GL/glx')
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxcmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index d082e84bf..efe5b25e9 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -783,6 +783,8 @@ int __glXQueryVersion(__GLXclientState *cl, GLbyte *pc)
(void)major;
(void)minor;
+ memset(&reply, 0, sizeof(xGLXQueryVersionReply));
+
/*
** Server should take into consideration the version numbers sent by the
** client if it wants to work with older clients; however, in this