summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index c132d78..886d7a1 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -986,6 +986,7 @@ print_xinput_info(Display *dpy, char *extname)
print_standard_extension_info(dpy, extname, ext->major_version,
ext->minor_version);
+ XFree(ext);
extensions = XListExtensions(dpy, &num_extensions);
for (loop = 0; loop < num_extensions &&