Commit 966691d4 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Better use calloc instead of alloc to initialize unset fields in struct.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709881 13f79535-47bb-0310-9956-ffa450edef68
parent 00e2da00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ static void *merge_authz_core_dir_config(apr_pool_t *p,
            section = apr_pmemdup(p, new->section, sizeof(*new->section));
        }

        conf = apr_palloc(p, sizeof(*conf));
        conf = apr_pcalloc(p, sizeof(*conf));

        conf->section = section;
        conf->op = new->op;