Skip to content

Commit 8961bee

Browse files
committed
* truncpw was allocated from a pool and not via malloc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490290 13f79535-47bb-0310-9956-ffa450edef68
1 parent fc112b6 commit 8961bee

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

modules/lua/lua_passwd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ int mk_password_hash(passwd_ctx *ctx)
138138
"characters by CRYPT algorithm.");
139139
}
140140
memset(truncpw, '\0', strlen(pw));
141-
free(truncpw);
142141
}
143142
break;
144143
#endif /* CRYPT_ALGO_SUPPORTED */

0 commit comments

Comments
 (0)