]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clean up isc_mempool API
authorOndřej Surý <ondrej@sury.org>
Wed, 12 May 2021 22:29:11 +0000 (00:29 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Jul 2021 13:58:02 +0000 (15:58 +0200)
commitefb385ecdcfd3213b3bb739a3dcb9e431690e559
tree5e52f7f99372f45d43c43495c52dd2696df804d8
parent62d06a4987e44c0004b4fd1fa16193d79692fdd0
Clean up isc_mempool API

- isc_mempool_get() can no longer fail; when there are no more objects
  in the pool, more are always allocated. checking for NULL return is
  no longer necessary.
- the isc_mempool_setmaxalloc() and isc_mempool_getmaxalloc() functions
  are no longer used and have been removed.
cocci/isc_mempool_get_never_fail.spatch [new file with mode: 0644]
lib/dns/message.c
lib/isc/include/isc/mem.h
lib/isc/mem.c
lib/isc/tests/mem_test.c