diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-03-10 02:37:18 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-03-10 02:37:18 +0000 |
commit | 8d62050702532be39688d468663466199492510b (patch) | |
tree | f5ea535feb205989a262316b766dc9cd41250cb8 | |
parent | 609828be5a05bc71fffaf8fc129a0cae8082fd57 (diff) |
Clear two tiny memory leaks. (Coverity ids #900 & 901)XORG-7_0_99_901
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | xwininfo.c | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-03-09 Alan Coopersmith <alan.coopersmith@sun.com> + + * xwininfo.c: + Clear two tiny memory leaks. (Coverity ids #900 & 901) + 2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: @@ -1,3 +1,4 @@ +/* $XdotOrg: $ */ /* $Xorg: xwininfo.c,v 1.4 2001/02/09 02:06:04 xorgcvs Exp $ */ /* @@ -621,6 +622,8 @@ Display_Stats_Info(Window window) printf(" Corners: +%d+%d -%d+%d -%d-%d +%d-%d\n", rx, ry, xright, ry, xright, ybelow, rx, ybelow); + XFree(vinfo); + /* * compute geometry string that would recreate window */ @@ -1108,4 +1111,6 @@ Display_WM_Info(Window window) if (flags & StateHint) printf(" Initial state is %s\n", Lookup(wmhints->initial_state, _state_hints)); + + XFree(wmhints); } |