Commit 3a5333e6 authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch '134-fix-zone-db-reference-counting' into 'master'

Fix a zone database reference counting bug in dump_done()

Closes #134

See merge request isc-projects/bind9!122
parents 129e13b9 6f3cc753
4914. [bug] A bug in zone database reference counting could lead to
a crash when multiple versions of a slave zone were
transferred from a master in close succession.
[GL #134]
4913. [test] Re-implemented older unit tests in bin/tests as ATF,
removed the lib/tests unit testing library. [GL #115]
......@@ -10345,7 +10345,7 @@ dump_done(void *arg, isc_result_t result) {
dns_db_t *zdb = NULL;
if (dns_zone_getdb(zone, &zdb) == ISC_R_SUCCESS) {
zone_journal_compact(zone, zdb, serial);
} else if (tresult == ISC_R_SUCCESS) {
compact = ISC_TRUE;
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