summaryrefslogtreecommitdiff
path: root/miscutils/strings.c
diff options
context:
space:
mode:
authorRob Landley2005-09-08 03:11:58 +0000
committerRob Landley2005-09-08 03:11:58 +0000
commit658d2cf98616e377fdcf8cde380fec10d966a689 (patch)
treeded519582e91404e7439409ee62e6abe302f238c /miscutils/strings.c
parent02eb934b0f7120cfb783536d6b27f7e092fb991b (diff)
downloadbusybox-658d2cf98616e377fdcf8cde380fec10d966a689.zip
busybox-658d2cf98616e377fdcf8cde380fec10d966a689.tar.gz
Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP to
ENABLE_FEATURE_CLEAN_UP.
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r--miscutils/strings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index d0a0924..111aa94 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -99,9 +99,9 @@ PIPE:
status=EXIT_FAILURE;
}
} while ( --argc > 0 );
-#ifdef CONFIG_FEATURE_CLEAN_UP
- free(string);
-#endif
+
+ if (ENABLE_FEATURE_CLEAN_UP) free(string);
+
bb_fflush_stdout_and_exit(status);
}