Commit 22dcc479f6 for bind
commit 22dcc479f6e46320c39fe5204178150c92c2a332
Merge: ff2504bbb5 ea197f8b8a
Author: OndÅ™ej Surý <ondrej@isc.org>
Date: Mon Oct 5 08:40:36 2026 +0200
chg: dev: Simplify dns_rdata_tostruct() and remove dns_rdata_freestruct()
The type-specific rdata structures could optionally own copies of their data, but nearly every caller used the borrowing mode and the few that did not had no need for a private copy.
The memory-context argument, the per-structure mctx member, and the whole dns_rdata_freestruct() machinery are removed, so the structures now always point directly into the wire-format
rdata and the caller keeps that rdata alive while the structure is in use.
Merge branch 'ondrej/cleanup-dns_rdata_tostruct' into 'main'
See merge request isc-projects/bind9!12757