On Fri, 2010-01-08 at 11:35 +1100, Bojan Smojver wrote: > + mem = calloc(max + 1, sizeof(*ht->array)); > + apr_pool_cleanup_register(ht->pool, mem, > + array_cleanup,apr_pool_cleanup_null);
No, I don't think that's going to work. Again, memory may vanish before another cleanup runs. Hmm, back to the drawing board... -- Bojan