summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcnary/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcnary/node.c b/libcnary/node.c
index 6026925..3bd6975 100644
--- a/libcnary/node.c
+++ b/libcnary/node.c
@@ -142,6 +142,7 @@ void node_debug(node_t* node) {
for(current = iter->begin; current != NULL; current = iter->next(iter)) {
node_debug(current);
}
+ node_iterator_destroy(iter);
}
}