summaryrefslogtreecommitdiff
path: root/lib/libXi/src/XIQueryVersion.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXi/src/XIQueryVersion.c')
-rw-r--r--lib/libXi/src/XIQueryVersion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libXi/src/XIQueryVersion.c b/lib/libXi/src/XIQueryVersion.c
index a14e9c987..1e4f9a443 100644
--- a/lib/libXi/src/XIQueryVersion.c
+++ b/lib/libXi/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;
}