From: Denys Vlasenko Date: Wed, 16 Apr 2014 17:51:34 +0000 (+0200) Subject: libbb/obscure.c: code shrink. Suggested by Tito. X-Git-Tag: 1_23_0~132 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb9f485b07b1823efbfddc773c899bd35dee62a6;p=oweals%2Fbusybox.git libbb/obscure.c: code shrink. Suggested by Tito. function old new delta string_checker 97 92 -5 Signed-off-by: Denys Vlasenko --- diff --git a/libbb/obscure.c b/libbb/obscure.c index 9ecc1f672..24c4ac917 100644 --- a/libbb/obscure.c +++ b/libbb/obscure.c @@ -76,7 +76,7 @@ static int string_checker(const char *p1, const char *p2) ret |= string_checker_helper(p, p2); /* clean up */ - memset(p, 0, size); + nuke_str(p); free(p); return ret;