]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
implementation of ldns_rbtree_free.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Fri, 2 May 2008 12:22:44 +0000 (12:22 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Fri, 2 May 2008 12:22:44 +0000 (12:22 +0000)
rbtree.c

index 686c97a0cfaebe7c1539e97c1442fd79bad9b930..00daa1dbb71481d3c7d3894c0f27383c188eacb8 100644 (file)
--- a/rbtree.c
+++ b/rbtree.c
@@ -100,6 +100,12 @@ ldns_rbtree_init(ldns_rbtree_t *rbtree, int (*cmpf)(const void *, const void *))
        rbtree->cmp = cmpf;
 }
 
+void 
+ldns_rbtree_free(ldns_rbtree_t *rbtree)
+{
+       free(rbtree);
+}
+
 /*
  * Rotates the node to the left.
  *