From: Christophe Jaillet Date: Sat, 2 Nov 2013 08:22:25 +0000 (+0000) Subject: Remove useless apr_pstrdup as done for other mod_auth modules in r1026660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69df0a13042381faf102474f96574ce6faa3dce3;p=thirdparty%2Fapache%2Fhttpd.git Remove useless apr_pstrdup as done for other mod_auth modules in r1026660 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1538149 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_form.c b/modules/aaa/mod_auth_form.c index b8891606b33..13d9243e5be 100644 --- a/modules/aaa/mod_auth_form.c +++ b/modules/aaa/mod_auth_form.c @@ -149,7 +149,7 @@ static const char *add_authn_provider(cmd_parms * cmd, void *config, authn_provider_list *newp; newp = apr_pcalloc(cmd->pool, sizeof(authn_provider_list)); - newp->provider_name = apr_pstrdup(cmd->pool, arg); + newp->provider_name = arg; /* lookup and cache the actual provider now */ newp->provider = ap_lookup_provider(AUTHN_PROVIDER_GROUP,