Also free process list when ${top_time} is used
authorAlexander Graf <agraf@znc.in>
Sun, 8 Feb 2009 15:16:12 +0000 (16:16 +0100)
committerAlexander Graf <agraf@znc.in>
Sun, 8 Feb 2009 15:16:12 +0000 (16:16 +0100)
src/conky.c

index 0cd3164..61042ed 100644 (file)
@@ -1440,6 +1440,7 @@ static void free_text_objects(struct text_object *root)
                                break;
                        case OBJ_top:
                        case OBJ_top_mem:
+                       case OBJ_top_time:
                                if (info.first_process) {
                                        free_all_processes();
                                        info.first_process = NULL;