From 07daa886fda65b868966c19e812c42433ffbfd5b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 1 Jan 2018 04:35:53 +0100 Subject: [PATCH] afs: Shutdown signals on exit. This frees the signal task structure, avoiding a (harmless) memory leak on exit. --- afs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/afs.c b/afs.c index ced2e451..75a4b97d 100644 --- a/afs.c +++ b/afs.c @@ -1007,6 +1007,7 @@ __noreturn void afs_init(int socket_fd) out_close: close_afs_tables(); out: + signal_shutdown(signal_task); free_lpr(); if (ret < 0) PARA_EMERG_LOG("%s\n", para_strerror(-ret)); -- 2.39.5