Fix current_mail_spool memleak
[monky] / src / conky.c
index b9e1761..fbf9272 100644 (file)
@@ -3948,7 +3948,7 @@ static void main_loop(void)
 #endif /* HAVE_LUA */
                g_signal_pending = 0;
        }
-       clean_up(NULL, NULL);
+       clean_up(current_mail_spool, NULL);
 
 #ifdef HAVE_SYS_INOTIFY_H
        if (inotify_fd != -1) {