]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace isc_mem_allocate() usage with isc_mem_get() in netmgr.c
authorOndřej Surý <ondrej@sury.org>
Tue, 11 May 2021 12:37:18 +0000 (14:37 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Jul 2021 13:58:02 +0000 (15:58 +0200)
commit5ab05d1696561c8169367ebd3805bd4094c24982
tree0482fcaec07d12565159be0c1b2863a544a38b38
parentfcc6814776c285cb64608f5ac18281fdf8a063fe
Replace isc_mem_allocate() usage with isc_mem_get() in netmgr.c

The isc_mem_allocate() comes with additional cost because of the memory
tracking.  In this commit, we replace the usage with isc_mem_get()
because we track the allocated sizes anyway, so it's possible to also
replace isc_mem_free() with isc_mem_put().
lib/isc/netmgr/netmgr.c