]> granicus.if.org Git - apache/commitdiff
Save a few bytes in conf pool
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 6 Jun 2015 05:59:49 +0000 (05:59 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 6 Jun 2015 05:59:49 +0000 (05:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1683884 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/mod_dav.c

index 1fff958954852918fd975eedd46b55506eeb40ae..7734bb8d756a818fd4bda4a5a73ac0daa5225bfb 100644 (file)
@@ -254,7 +254,7 @@ static const char *dav_cmd_dav(cmd_parms *cmd, void *config, const char *arg1)
         conf->provider = NULL;
     }
     else {
-        conf->provider_name = apr_pstrdup(cmd->pool, arg1);
+        conf->provider_name = arg1;
     }
 
     if (conf->provider_name != NULL) {