static void *create_auth_dir_config(apr_pool_t *p, char *d)
{
- auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
+ auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
conf->auth_pwfile = NULL; /* just to illustrate the default really */
conf->auth_grpfile = NULL; /* unless you have a broken HP cc */
static void *create_anon_auth_dir_config(apr_pool_t *p, char *d)
{
- anon_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
+ anon_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
/* just to illustrate the defaults really. */
conf->anon_auth_passwords = NULL;
static void *create_db_auth_dir_config(apr_pool_t *p, char *d)
{
- db_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
+ db_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
conf->auth_dbpwfile = NULL;
conf->auth_dbgrpfile = NULL;
static void *create_dbm_auth_dir_config(apr_pool_t *p, char *d)
{
- dbm_auth_config_rec *conf = apr_pcalloc(p, sizeof(*conf));
+ dbm_auth_config_rec *conf = apr_palloc(p, sizeof(*conf));
conf->auth_dbmpwfile = NULL;
conf->auth_dbmgrpfile = NULL;