summaryrefslogtreecommitdiffstats
path: root/src/ulogd.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-11-30 16:49:54 +0100
committerEric Leblond <eric@inl.fr>2008-12-09 01:19:25 +0100
commit1295f2228397f8d7566007d7e62f37e6169384d7 (patch)
treeaaa86084d6148a3006ecaccb29ba08398ecc538a /src/ulogd.c
parent7e02ae896e3b4f3109ea26069884695799793370 (diff)
Introduce config_stop() function
This patch adds the config_stop function which is in charge of releasing ressources allocated for configuration file parsing.
Diffstat (limited to 'src/ulogd.c')
-rw-r--r--src/ulogd.c2
1 files changed, 2 insertions, 0 deletions
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);
}