skip the cleanups we don't need.
Submitted by: Brian Pane <bpane@pacbell.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91681
13f79535-47bb-0310-9956-
ffa450edef68
*/
apr_pool_userdata_get(&data, userdata_key, s->process->pool);
if (!data) {
- apr_pool_userdata_set((const void *)1, userdata_key,
- apr_pool_cleanup_null, s->process->pool);
+ apr_pool_userdata_setn((const void *)1, userdata_key,
+ NULL, s->process->pool);
/* If logging for the first time after a restart, keep going. */
if (!ap_my_generation) {
return cls;
cache = apr_pcalloc(r->pool, sizeof(*cache));
cache->walked = apr_array_make(r->pool, 4, sizeof(walk_walked_t));
}
- apr_pool_userdata_set(cache, cache_name,
- apr_pool_cleanup_null, r->pool);
+ apr_pool_userdata_setn(cache, cache_name, NULL, r->pool);
}
return cache;
}