summaryrefslogtreecommitdiff
path: root/Xi/getvers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getvers.c')
-rw-r--r--Xi/getvers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/getvers.c b/Xi/getvers.c
index f8fd56e6d..b4bc468ea 100644
--- a/Xi/getvers.c
+++ b/Xi/getvers.c
@@ -116,6 +116,7 @@ ProcXGetExtensionVersion(ClientPtr client)
pXIClient->minor_version = stuff->minorVersion;
} /* else version unknown, leave it at 0.0 */
+ memset(&rep, 0, sizeof(xGetExtensionVersionReply));
rep.repType = X_Reply;
rep.RepType = X_GetExtensionVersion;
rep.length = 0;