From 1295f2228397f8d7566007d7e62f37e6169384d7 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 30 Nov 2008 16:49:54 +0100 Subject: Introduce config_stop() function This patch adds the config_stop function which is in charge of releasing ressources allocated for configuration file parsing. --- src/ulogd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ulogd.c') diff --git a/src/ulogd.c b/src/ulogd.c index ae57a38..b079fd2 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -1013,6 +1013,8 @@ static void sigterm_handler(int signal) if (ulogd_logfile) free(ulogd_logfile); + config_stop(); + exit(0); } -- cgit v1.2.3