From: Andre Noll Date: Sat, 12 Aug 2017 20:02:48 +0000 (+0200) Subject: server: Have afs process close the current mood on exit(). X-Git-Tag: v0.6.2~4^2~19 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=42c6dc96316660fe476a6baadd87a2c79da07c83;p=paraslash.git 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. --- 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: