diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conffile.c | 4 | ||||
-rw-r--r-- | src/ulogd.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/conffile.c b/src/conffile.c index 0c1a2a4..b27187e 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -222,3 +222,7 @@ cpf_error: return err; } +void config_stop() +{ + free(fname); +} 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); } |