diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-10 12:08:57 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-10 12:08:57 -0700 |
commit | 64326bae4e9b9c05b8781403ee27af95065eb2fb (patch) | |
tree | 58e8d832fa6db820eb23c4d9b86711d9f4d4f8f0 | |
parent | 866ceb3a671a9ab93b3ecbdf3231902ab2251ce3 (diff) |
Coverity #905: Handle_Prop_Requests returned without freeing storage "thunks"
-rw-r--r-- | xprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1287,14 +1287,14 @@ Handle_Prop_Requests (int argc, char **argv) char *format, *dformat, *prop; thunk *thunks, t; - thunks = Create_Thunk_List(); - /* if no prop referenced, by default list all properties for given window */ if (!argc) { Show_All_Props(); return NULL; } + thunks = Create_Thunk_List(); + while (argc > 0) { format = NULL; dformat = NULL; |