1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-14 11:33:14 +00:00

Fix memleaks when running with total_run_times

This commit is contained in:
Nikolas Garofil 2009-07-14 12:47:24 +02:00
parent 0352b96f39
commit c924bbe194

View File

@ -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) {