summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
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 886d7a1..5715590 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -800,6 +800,7 @@ print_XF86VidMode_info(Display *dpy, char *extname)
if (modelines[i]->flags & V_DBLSCAN) printf(" doublescan");
printf("\n");
}
+ XFree(modelines);
if (!XF86VidModeGetModeLine(dpy, DefaultScreen(dpy),
&dotclock, &modeline))