summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XIQueryDevice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c
index a457cd6..e3b0c9f 100644
--- a/src/XIQueryDevice.c
+++ b/src/XIQueryDevice.c
@@ -135,6 +135,8 @@ error_loop:
Xfree(info[i].name);
Xfree(info[i].classes);
}
+ Xfree(info);
+ Xfree(buf);
error:
UnlockDisplay(dpy);
error_unlocked: