aboutsummaryrefslogtreecommitdiff
path: root/src/rc/start-stop-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r--src/rc/start-stop-daemon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index 8ed3e923..27939c2c 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -177,7 +177,6 @@ free_schedulelist(void)
TAILQ_INIT(&schedule);
}
-#ifdef DEBUG_MEMORY
static void
cleanup(void)
{
@@ -185,7 +184,6 @@ cleanup(void)
free(nav);
free_schedulelist();
}
-#endif
static int
parse_signal(const char *sig)
@@ -688,9 +686,7 @@ int main(int argc, char **argv)
applet = basename_c(argv[0]);
TAILQ_INIT(&schedule);
-#ifdef DEBUG_MEMORY
atexit(cleanup);
-#endif
signal_setup(SIGINT, handle_signal);
signal_setup(SIGQUIT, handle_signal);