]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove useless apr_pstrdup as done for other mod_auth modules in r1026660
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 2 Nov 2013 08:22:25 +0000 (08:22 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 2 Nov 2013 08:22:25 +0000 (08:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1538149 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_form.c

index b8891606b33a1ebfb52e471e4336552da4a36ffe..13d9243e5bee9ef500726ebbaa5274a5cf3de29e 100644 (file)
@@ -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,