Loading modules/cache/mod_file_cache.c +2 −1 Original line number Diff line number Diff line Loading @@ -165,11 +165,12 @@ static void *create_server_config(apr_pool_t *p, server_rec *s) static apr_status_t cleanup_file_cache(void *sconfv) { a_server_config *sconf = sconfv; apr_pool_t *p = apr_hash_pool_get(sconf->fileht); a_file *file; apr_hash_index_t *hi; /* Iterate over the file hash table and clean up each entry */ for (hi = apr_hash_first(sconf->fileht); hi; hi=apr_hash_next(hi)) { for (hi = apr_hash_first(p, sconf->fileht); hi; hi=apr_hash_next(hi)) { apr_hash_this(hi, NULL, NULL, (void **)&file); #if APR_HAS_MMAP if (file->is_mmapped) { Loading modules/dav/main/liveprop.c +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ int dav_get_liveprop_ns_count(void) void dav_add_all_liveprop_xmlns(apr_pool_t *p, ap_text_header *phdr) { apr_hash_index_t *idx = apr_hash_first(dav_liveprop_uris); apr_hash_index_t *idx = apr_hash_first(p, dav_liveprop_uris); for ( ; idx != NULL; idx = apr_hash_next(idx) ) { const void *key; Loading modules/http/mod_mime.c +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ static void overlay_extension_mappings(apr_pool_t *p, apr_hash_t *overlay, apr_hash_t *base) { apr_hash_index_t *index; for (index = apr_hash_first(overlay); index; for (index = apr_hash_first(p, overlay); index; index = apr_hash_next(index)) { char *key; apr_ssize_t klen; Loading Loading
modules/cache/mod_file_cache.c +2 −1 Original line number Diff line number Diff line Loading @@ -165,11 +165,12 @@ static void *create_server_config(apr_pool_t *p, server_rec *s) static apr_status_t cleanup_file_cache(void *sconfv) { a_server_config *sconf = sconfv; apr_pool_t *p = apr_hash_pool_get(sconf->fileht); a_file *file; apr_hash_index_t *hi; /* Iterate over the file hash table and clean up each entry */ for (hi = apr_hash_first(sconf->fileht); hi; hi=apr_hash_next(hi)) { for (hi = apr_hash_first(p, sconf->fileht); hi; hi=apr_hash_next(hi)) { apr_hash_this(hi, NULL, NULL, (void **)&file); #if APR_HAS_MMAP if (file->is_mmapped) { Loading
modules/dav/main/liveprop.c +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ int dav_get_liveprop_ns_count(void) void dav_add_all_liveprop_xmlns(apr_pool_t *p, ap_text_header *phdr) { apr_hash_index_t *idx = apr_hash_first(dav_liveprop_uris); apr_hash_index_t *idx = apr_hash_first(p, dav_liveprop_uris); for ( ; idx != NULL; idx = apr_hash_next(idx) ) { const void *key; Loading
modules/http/mod_mime.c +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ static void overlay_extension_mappings(apr_pool_t *p, apr_hash_t *overlay, apr_hash_t *base) { apr_hash_index_t *index; for (index = apr_hash_first(overlay); index; for (index = apr_hash_first(p, overlay); index; index = apr_hash_next(index)) { char *key; apr_ssize_t klen; Loading