diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-04-16 19:51:34 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-04-16 19:51:34 +0200 |
commit | eb9f485b07b1823efbfddc773c899bd35dee62a6 (patch) | |
tree | 5e1114a1dd71a176fc9009cc5c8bc869429193d0 /libbb/obscure.c | |
parent | 3fa97af7ccc75264fb237f279f253eddf0ba4da1 (diff) | |
download | busybox-w32-eb9f485b07b1823efbfddc773c899bd35dee62a6.tar.gz busybox-w32-eb9f485b07b1823efbfddc773c899bd35dee62a6.tar.bz2 busybox-w32-eb9f485b07b1823efbfddc773c899bd35dee62a6.zip |
libbb/obscure.c: code shrink. Suggested by Tito.
function old new delta
string_checker 97 92 -5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/obscure.c')
-rw-r--r-- | libbb/obscure.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
76 | ret |= string_checker_helper(p, p2); | 76 | ret |= string_checker_helper(p, p2); |
77 | 77 | ||
78 | /* clean up */ | 78 | /* clean up */ |
79 | memset(p, 0, size); | 79 | nuke_str(p); |
80 | free(p); | 80 | free(p); |
81 | 81 | ||
82 | return ret; | 82 | return ret; |