]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
btr: Remove btr_free_node().
authorAndre Noll <maan@systemlinux.org>
Mon, 9 Apr 2012 19:57:54 +0000 (21:57 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 8 Jul 2012 17:06:38 +0000 (17:06 +0000)
This has turned out to be source for bugs. Deallocate everything
in btr_remove_node() hence making removing the node and freeing
its resources an atomic operation.

To avoid dangling pointers to freed btrn nodes, the argument of
btr_remove_node() is changed to to struct btr_node **btrnp.


No differences found