aboutsummaryrefslogtreecommitdiff
path: root/src/rc/start-stop-daemon.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-03-22 15:04:14 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-07-14 16:52:57 -0500
commit3a1262703fd20d2e8288d13d908fb282c77d1793 (patch)
tree9dc39a57e849c7543ea153f59f431669d9b0a666 /src/rc/start-stop-daemon.c
parent20035210bdf5d5729734457f35f5f32a53a5b3ad (diff)
Remove the DEBUG_MEMORY macro
This fixes #43.
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);