Release all memory in tests and fix comment

This commit is contained in:
Tillmann Karras
2014-10-06 21:03:56 +02:00
parent 3d0b652ec9
commit c0ee55325c
4 changed files with 31 additions and 15 deletions

View File

@@ -62,8 +62,8 @@ struct rb_tree
extern struct rb_tree* rb_tree_create(rb_tree_compare compare, rb_tree_alloc alloc, rb_tree_free dealloc);
/**
* Deletes the tree and all the nodes.
* But not the content inside the nodes.
* Delete the tree.
* Assumes that the tree is empty.
*/
extern void rb_tree_destroy(struct rb_tree*);