diff options
author | Eirik Byrkjeflot Anonsen <eirik@eirikba.org> | 2015-05-22 11:10:02 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-09-22 10:59:34 -0400 |
commit | 4f748e3d2b1368ec0590a413ba5f7addc5e3344f (patch) | |
tree | e2178629255f4f41f7586427b14b147596be6402 | |
parent | b0ae4b903067017ec7dc19f27d3916d2153410af (diff) |
Free the thunks used by Show_Prop
Signed-off-by: Eirik Byrkjeflot Anonsen <eirik@eirikba.org>
-rw-r--r-- | xprop.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -95,14 +95,6 @@ Create_Thunk_List (void) return tptr; } -#ifdef notused -static void -Free_Thunk_List (thunk *list) -{ - free(list); -} -#endif - static thunk * Add_Thunk (thunk *list, thunk t) { @@ -1506,8 +1498,8 @@ Show_Prop (const char *format, const char *dformat, const char *prop) } thunks = Break_Down_Property(data, (int)length, type, format, size); - Display_Property(thunks, dformat, format); + free(thunks); } static void |