From 1bf0b455b6287b7575bc96f4dbd091b1df05ee57 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 6 Feb 1999 00:00:41 +0000 Subject: [PATCH] add XXXRTH comments --- lib/dns/rbt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dns/rbt.c b/lib/dns/rbt.c index 445e4d8627..2b6f56acf9 100644 --- a/lib/dns/rbt.c +++ b/lib/dns/rbt.c @@ -442,6 +442,8 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) { if (result == DNS_R_SUCCESS) result = dns_rbt_addonlevel(rbt, new_node, root, &chain); + /* XXXRTH Free node if add fails? */ + /* XXXRTH Is it true that result should never be DNS_R_EXISTS? */ if (chain.ancestor_maxitems > 0) isc_mem_put(rbt->mctx, chain.ancestors,