mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00: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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user