Introduced in commit 19a9cd6.

Reported-by: Julien Cristau <[email protected]>
Signed-off-by: Emilio Pozuelo Monfort <[email protected]>
---
 src/XIQueryDevice.c | 2 ++
 1 file changed, 2 insertions(+)

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:
-- 
2.9.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to