From: Timo Sirainen Date: Sat, 23 Mar 2024 11:45:58 +0000 (+0200) Subject: lib: Update pool_add_external_ref() comment X-Git-Tag: 2.4.0~535 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81a164fb826790c6034a50e673e417c135a72ba0;p=thirdparty%2Fdovecot%2Fcore.git lib: Update pool_add_external_ref() comment --- diff --git a/src/lib/mempool.h b/src/lib/mempool.h index d80a737ddd..d7100e21cb 100644 --- a/src/lib/mempool.h +++ b/src/lib/mempool.h @@ -92,8 +92,9 @@ pool_t pool_allocfree_create_clean(const char *name); old_size + 1. */ size_t pool_get_exp_grown_size(pool_t pool, size_t old_size, size_t min_size); -/* Reference another memory pool in the given pool. When the pool is freed, - the referenced memory pools are also unreferenced. */ +/* Reference another memory pool in the given pool. This call also increases + the ref_pool's reference count. When the pool is freed, the referenced + memory pools are also unreferenced. */ void pool_add_external_ref(pool_t pool, pool_t ref_pool); /* We require sizeof(type) to be <= UINT_MAX. This allows compiler to optimize