diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:21:56 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:21:56 -0700 |
commit | ce6709132a322e82e915b761c0ced1bc418095ea (patch) | |
tree | 03912bfa16de15e7903ee898af950151a89c53ce /xdpyinfo.c | |
parent | f4001e881a9f5d57dd99326d4f501737a0ded6e6 (diff) |
Coverity #749: print_XF86VidMode_info: Returned without freeing storage "modelines"
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |