From 3f21295703c0a86b04392cea739ebd06e6134657 Mon Sep 17 00:00:00 2001 From: Marek Vavrusa <marek.vavrusa@nic.cz> Date: Fri, 29 Nov 2013 13:29:34 +0100 Subject: [PATCH] Fixed zone tree pointers. --- src/libknot/updates/xfr-in.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libknot/updates/xfr-in.c b/src/libknot/updates/xfr-in.c index abf425929..430643f49 100644 --- a/src/libknot/updates/xfr-in.c +++ b/src/libknot/updates/xfr-in.c @@ -2082,10 +2082,10 @@ static void xfrin_cleanup_failed_update(knot_zone_contents_t *old_contents, if (old_contents != NULL) { // cleanup old zone tree - reset pointers to new node to NULL - knot_zone_tree_apply(old_contents, xfrin_cleanup_old_nodes, + knot_zone_tree_apply(old_contents->nodes, xfrin_cleanup_old_nodes, NULL); - knot_zone_tree_apply(old_contents, xfrin_cleanup_old_nodes, + knot_zone_tree_apply(old_contents->nsec3_nodes, xfrin_cleanup_old_nodes, NULL); } } -- GitLab