diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:25:06 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-20 13:25:06 -0700 |
commit | e411de3d660a5382e7cb8d31fa2fa1bc35823931 (patch) | |
tree | 44fcb4f0cca4e85e9a8dee417a06472a31d5c928 | |
parent | ce6709132a322e82e915b761c0ced1bc418095ea (diff) | |
download | xdpyinfo-e411de3d660a5382e7cb8d31fa2fa1bc35823931.tar.gz xdpyinfo-e411de3d660a5382e7cb8d31fa2fa1bc35823931.tar.bz2 xdpyinfo-e411de3d660a5382e7cb8d31fa2fa1bc35823931.zip |
Coverity #748: IsPrintScreen: Returned without freeing storage "pscreens"
-rw-r--r-- | xdpyinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -424,6 +424,7 @@ Bool IsPrintScreen(Screen *s) pscreens = XpQueryScreens(dpy, &pscrcount); for( i = 0 ; (i < pscrcount) && pscreens ; i++ ) { if (s == pscreens[i]) { + XFree(pscreens); return True; } } |