]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Remove memory context form `cfg_obj_t`
authorColin Vidal <colin@isc.org>
Thu, 4 Dec 2025 15:42:42 +0000 (16:42 +0100)
committerColin Vidal <colin@isc.org>
Thu, 4 Dec 2025 15:42:42 +0000 (16:42 +0100)
commitb97991463e73bdcce07db2a1a756af9ca0a71554
tree9740f508e80c6f19a2210be45a787c01eb8d9d75
parent48f11cb784a712b713520455fa2b2c3c64b0f484
parentc3b7b56dd0345b155d8b98c01eca62b791eb6d45
chg: dev: Remove memory context form `cfg_obj_t`

Removes the `cfg_obj_t` memory context pointer, as the parser always uses `isc_g_mctx`. This simplifies the parser API/configuration tree API (no need to pass the memory context); and the `cfg_obj_t` size goes down from 80 bytes to 72 bytes.

While not directly related to the changes, also remove the `cfg_parser_t` `references` field as it is not used anymore (since the `cfg_obj_t` types doesn't reference it anymore).

Merge branch 'colin/remove-memctx-cfgobj' into 'main'

See merge request isc-projects/bind9!11199