From 3a1262703fd20d2e8288d13d908fb282c77d1793 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 22 Mar 2015 15:04:14 -0500 Subject: Remove the DEBUG_MEMORY macro This fixes #43. --- src/rc/start-stop-daemon.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/rc/start-stop-daemon.c') 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); -- cgit v1.2.3