Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
a8f1c013
Commit
a8f1c013
authored
Apr 01, 2005
by
Mark Andrews
Browse files
1847. [bug] isc_ondestroy_init() is called too late in
in dns_rbtdb_create()/dns_rbtdb_create(). [RT #13661]
parent
959fb010
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
a8f1c013
1847. [bug] isc_ondestroy_init() is called too late in
in dns_rbtdb_create()/dns_rbtdb_create().
[RT #13661]
1846. [contrib] query-loc-0.3.0 from Stephane Bortzmeyer
<bortzmeyer@nic.fr>.
...
...
lib/dns/rbtdb.c
View file @
a8f1c013
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rbtdb.c,v 1.20
4
2005/0
3/18 05:55
:3
6
marka Exp $ */
/* $Id: rbtdb.c,v 1.20
5
2005/0
4/01 07:00
:3
4
marka Exp $ */
/*
* Principal Author: Bob Halley
...
...
@@ -5089,6 +5089,11 @@ dns_rbtdb_create
*/
isc_mem_attach
(
mctx
,
&
rbtdb
->
common
.
mctx
);
/*
* Must be initalized before free_rbtdb() is called.
*/
isc_ondestroy_init
(
&
rbtdb
->
common
.
ondest
);
/*
* Make a copy of the origin name.
*/
...
...
@@ -5167,8 +5172,6 @@ dns_rbtdb_create
rbtdb
->
future_version
=
NULL
;
ISC_LIST_INIT
(
rbtdb
->
open_versions
);
isc_ondestroy_init
(
&
rbtdb
->
common
.
ondest
);
rbtdb
->
common
.
magic
=
DNS_DB_MAGIC
;
rbtdb
->
common
.
impmagic
=
RBTDB_MAGIC
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment