summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_alias.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-04-22 20:02:34 +0200
committerStefan Fritsch <sf@apache.org>2011-04-22 20:02:34 +0200
commit23961debb8810014d8b7fb8c7da557d8d4529af5 (patch)
treef3ba33ef67b31aa41416124497f93f9eb21a5ab2 /modules/mappers/mod_alias.c
parentupdate transform (diff)
downloadapache2-23961debb8810014d8b7fb8c7da557d8d4529af5.tar.xz
apache2-23961debb8810014d8b7fb8c7da557d8d4529af5.zip
avoid useless call to apr_pstrdup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers/mod_alias.c')
-rw-r--r--modules/mappers/mod_alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c
index 35c7ff3a95..dc40b67086 100644
--- a/modules/mappers/mod_alias.c
+++ b/modules/mappers/mod_alias.c
@@ -369,7 +369,7 @@ static char *try_alias_list(request_rec *r, apr_array_header_t *aliases,
}
else {
/* need something non-null */
- found = apr_pstrdup(r->pool, "");
+ found = "";
}
}
}