mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'fanf-free-non-null' into 'main'
Improve DBC in isc_mem_free See merge request isc-projects/bind9!6839
This commit is contained in:
commit
2ffeb0248b
1 changed files with 1 additions and 0 deletions
|
|
@ -981,6 +981,7 @@ isc__mem_free(isc_mem_t *ctx, void *ptr FLARG) {
|
|||
size_t size = 0;
|
||||
|
||||
REQUIRE(VALID_CONTEXT(ctx));
|
||||
REQUIRE(ptr != NULL);
|
||||
|
||||
size = sallocx(ptr, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue