diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:10:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:10:33 -0700 |
commit | c896552ee94cf50f8acfccc49096e5ec564e5356 (patch) | |
tree | fe9ed1497d05c4b6aad099fec86bc4f16f2e463a | |
parent | ea8455a0932c21ef29e97d469b492dadc85dabdc (diff) |
Coverity #752: XListDepths return leaked in print_xrender_info()
-rw-r--r-- | xdpyinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1120,6 +1120,7 @@ print_xrender_info(Display *dpy, char *extname) for (count = 0; (pictform = XRenderFindFormat (dpy, PictFormatDepth, &templ, count)); count++) printf(" pict format id: 0x%lx\n", pictform->id); } + if (depths) XFree (depths); } return 1; } |