summaryrefslogtreecommitdiffstats
path: root/modules/mappers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mappers')
-rw-r--r--modules/mappers/mod_rewrite.c3
-rw-r--r--modules/mappers/mod_speling.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c
index 21d33eeb9c..661bc30f48 100644
--- a/modules/mappers/mod_rewrite.c
+++ b/modules/mappers/mod_rewrite.c
@@ -1063,6 +1063,7 @@ static void set_cache_value(const char *name, apr_time_t t, char *key,
#endif
return;
}
+ apr_pool_tag(p, "rewrite_cachedmap");
map = apr_palloc(cachep->pool, sizeof(cachedmap));
map->pool = p;
@@ -1140,6 +1141,7 @@ static int init_cache(apr_pool_t *p)
cachep = NULL; /* turns off cache */
return 0;
}
+ apr_pool_tag(cachep->pool, "rewrite_cachep");
cachep->maps = apr_hash_make(cachep->pool);
#if APR_HAS_THREADS
@@ -4384,6 +4386,7 @@ static int apply_rewrite_list(request_rec *r, apr_array_header_t *rewriterules,
if (dconf->options & OPTION_LONGOPT) {
apr_pool_create(&(ctx->temp_pool), r->pool);
+ apr_pool_tag(ctx->temp_pool, "rewrite_ctx_ptemp");
}
else {
ctx->temp_pool = NULL;
diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c
index 35d33ea03d..2ed65eb810 100644
--- a/modules/mappers/mod_speling.c
+++ b/modules/mappers/mod_speling.c
@@ -419,6 +419,7 @@ static int check_speling(request_rec *r)
if (apr_pool_create(&sub_pool, p) != APR_SUCCESS)
return DECLINED;
+ apr_pool_tag(sub_pool, "speling_sub");
t = apr_array_make(sub_pool, candidates->nelts * 8 + 8,
sizeof(char *));