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-Tag: 2.5.0-alpha~5376 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3777092d33eb202053a2309fd0341ed6d97a16bd;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 */