Commit c9a8413d authored by Bob Halley's avatar Bob Halley
Browse files

Require that only the last reference of a writable version may be committed.

parent a3e2ec2d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment