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/rc-service.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/rc/rc-service.c') diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c index 3fd94b25..d0a64999 100644 --- a/src/rc/rc-service.c +++ b/src/rc/rc-service.c @@ -76,9 +76,7 @@ int main(int argc, char **argv) case 'e': service = rc_service_resolve(optarg); opt = service ? EXIT_SUCCESS : EXIT_FAILURE; -#ifdef DEBUG_MEMORY free(service); -#endif return opt; /* NOTREACHED */ case 'i': @@ -97,9 +95,7 @@ int main(int argc, char **argv) rc_stringlist_sort(&list); TAILQ_FOREACH(s, list, entries) printf("%s\n", s->value); -#ifdef DEBUG_MEMORY rc_stringlist_free(list); -#endif return EXIT_SUCCESS; /* NOTREACHED */ case 'r': @@ -107,9 +103,7 @@ int main(int argc, char **argv) if (service == NULL) return EXIT_FAILURE; printf("%s\n", service); -#ifdef DEBUG_MEMORY free(service); -#endif return EXIT_SUCCESS; /* NOTREACHED */ -- cgit v1.2.3