]> granicus.if.org Git - apache/commitdiff
* modules/mappers/mod_userdir.c (get_suexec_id_doer): Fix allocation
authorJoe Orton <jorton@apache.org>
Thu, 28 Apr 2005 15:19:06 +0000 (15:19 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 28 Apr 2005 15:19:06 +0000 (15:19 +0000)
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

index 00130d8ec52745fbe38fd4eae7865524d94a08c3..495f34054ad52719e394c7ce8b3b792f9a793f9f 100644 (file)
@@ -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;
     }