From 5b5a419bd02a9ff2fb135cf4797f1a00fcd0becd Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Sun, 16 Oct 2005 13:00:35 +0000 Subject: [PATCH] free text objects for 'tail' git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@348 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conky.c b/src/conky.c index 98e8dc7d..52dc6e13 100644 --- a/src/conky.c +++ b/src/conky.c @@ -1006,6 +1006,10 @@ static void free_text_objects() case OBJ_if_running: free(text_objects[i].data.ifblock.s); break; + case OBJ_tail: + free(text_objects[i].data.tail.logfile); + free(text_objects[i].data.tail.buffer); + break; case OBJ_text: case OBJ_font: free(text_objects[i].data.s);