From d4f34c59f746197e3ef0d184e46406a31cc3347e Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 28 Apr 2005 15:19:06 +0000 Subject: [PATCH] * 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 --- modules/mappers/mod_userdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1