From 42c6dc96316660fe476a6baadd87a2c79da07c83 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 12 Aug 2017 22:02:48 +0200 Subject: [PATCH 1/1] server: Have afs process close the current mood on exit(). This eliminates a few (harmless but annoying) warnings about memory leaks from the valgrind output. --- afs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/afs.c b/afs.c index 961634b2..d9aa3ce0 100644 --- a/afs.c +++ b/afs.c @@ -1003,6 +1003,7 @@ __noreturn void afs_init(int socket_fd) } ret = schedule(&s); sched_shutdown(&s); + close_current_mood(); out_close: close_afs_tables(); out: -- 2.39.2