summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XIQueryVersion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/XIQueryVersion.c b/src/XIQueryVersion.c
index a14e9c9..1e4f9a4 100644
--- a/src/XIQueryVersion.c
+++ b/src/XIQueryVersion.c
@@ -60,7 +60,6 @@ _xiQueryVersion(Display * dpy, int *major, int *minor, XExtDisplayInfo *info)
if (!info || !info->data) {
*major = 0;
*minor = 0;
- UnlockDisplay(dpy);
return BadRequest;
}