From f4001e881a9f5d57dd99326d4f501737a0ded6e6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 20 Mar 2007 13:16:18 -0700 Subject: [PATCH] Coverity #750: print_xinput_info() returned without freeing storage "ext" --- xdpyinfo.c | 1 + 1 file changed, 1 insertion(+) 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 && -- 2.7.4