diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-03-03 13:09:15 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-03-03 13:09:15 +0100 |
commit | 8cdccdcf1efa57a8d540c25dd20942ec4cee78db (patch) | |
tree | 43f20b20620e6174d8d697d3df5a5e39ac7132de /nx-X11 | |
parent | 7011de155a1063a77cbab2f4d1ca599e23d7b102 (diff) | |
parent | 6e770378c3ec579b3e25315f0c951e838956199e (diff) | |
download | nx-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')
-rw-r--r-- | nx-X11/programs/Xserver/GL/glx/glxcmds.c | 2 |
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 |