2
0
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:
Tony Finch
2022-09-29 10:07:46 +00:00

View File

@@ -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);