mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Require that only the last reference of a writable version may be committed.
This commit is contained in:
parent
a3e2ec2dfe
commit
c9a8413dcb
@ -364,6 +364,10 @@ dns_db_closeversion(dns_db_t *db, dns_dbversion_t **versionp,
|
||||
*
|
||||
* '*versionp' refers to a valid version.
|
||||
*
|
||||
* If committing a writable version, then there must be no other
|
||||
* outstanding references to the version (e.g. an active rdataset
|
||||
* iterator).
|
||||
*
|
||||
* Ensures:
|
||||
*
|
||||
* *versionp == NULL
|
||||
|
Loading…
x
Reference in New Issue
Block a user