aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/obscure.c2
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)
ret |= string_checker_helper(p, p2);
/* clean up */
- memset(p, 0, size);
+ nuke_str(p);
free(p);
return ret;