summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-03-20 13:16:18 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-03-20 13:16:18 -0700
commitf4001e881a9f5d57dd99326d4f501737a0ded6e6 (patch)
treeaf55c0667f54b9f76474f2b3b18d3d5fce4c0949 /xdpyinfo.c
parentc896552ee94cf50f8acfccc49096e5ec564e5356 (diff)
Coverity #750: print_xinput_info() returned without freeing storage "ext"
Diffstat (limited to 'xdpyinfo.c')
-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 &&