From: Ruediger Pluem Date: Thu, 6 Jun 2013 14:03:28 +0000 (+0000) Subject: * truncpw was allocated from a pool and not via malloc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8961beeec5d4446b62cd574e461a606e3ff44684;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/lua/lua_passwd.c b/modules/lua/lua_passwd.c index 567712b9d27..3bc667f0616 100644 --- a/modules/lua/lua_passwd.c +++ b/modules/lua/lua_passwd.c @@ -138,7 +138,6 @@ int mk_password_hash(passwd_ctx *ctx) "characters by CRYPT algorithm."); } memset(truncpw, '\0', strlen(pw)); - free(truncpw); } break; #endif /* CRYPT_ALGO_SUPPORTED */