From: Ronnie Sahlberg Date: Wed, 8 Dec 2010 01:00:35 +0000 (+1100) Subject: rb_tree: fix trbt_delete X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=90768177537d783a157c06f79d5919430b563463;hp=90768177537d783a157c06f79d5919430b563463;p=ccan-lca-2011.git rb_tree: fix trbt_delete trbt_delete32() was broken and caused SEGV as soon as you tried to delete an object from a tree. Rework trbt_delete32() to instead just call talloc_free() instread of trying to call delete_node() directly. This makes the "from_destructor" argument to delete_node() redundant so that parameter is removed too. Signed-off-by: Ronnie Sahlberg ---