From c924bbe194f89ce5b09d0a9ac87bde8e16f7ffcd Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Tue, 14 Jul 2009 12:47:24 +0200 Subject: [PATCH] Fix memleaks when running with total_run_times --- src/conky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index 0c2c79bd..3303c12a 100644 --- a/src/conky.c +++ b/src/conky.c @@ -7283,7 +7283,6 @@ static void main_loop(void) case SIGTERM: ERR("received SIGINT or SIGTERM to terminate. bye!"); terminate = 1; - clean_up(); #ifdef X11 if (output_methods & TO_X) { XDestroyRegion(x11_stuff.region); @@ -7365,6 +7364,7 @@ static void main_loop(void) g_signal_pending = 0; } + clean_up(); #ifdef HAVE_SYS_INOTIFY_H if (inotify_fd != -1) {