summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2005-04-28 15:19:06 +0000
committerJoe Orton <jorton@apache.org>2005-04-28 15:19:06 +0000
commitd4f34c59f746197e3ef0d184e46406a31cc3347e (patch)
tree322da3724650ee2362c9e8631b583e99c23b9514
parentf05f8523c443f1695c2cb602a96b910c631ef69c (diff)
downloadhttpd-d4f34c59f746197e3ef0d184e46406a31cc3347e.tar.gz
* modules/mappers/mod_userdir.c (get_suexec_id_doer): Fix allocation
size. PR: 34588 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@165151 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/mappers/mod_userdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c
index 00130d8ec5..495f34054a 100644
--- a/modules/mappers/mod_userdir.c
+++ b/modules/mappers/mod_userdir.c
@@ -333,7 +333,7 @@ static ap_unix_identity_t *get_suexec_id_doer(const request_rec *r)
return NULL;
}
- if ((ugid = apr_palloc(r->pool, sizeof(ap_unix_identity_t *))) == NULL) {
+ if ((ugid = apr_palloc(r->pool, sizeof(*ugid))) == NULL) {
return NULL;
}