From: Guus Sliepen Date: Fri, 3 Dec 2004 13:27:33 +0000 (+0000) Subject: Use the proper free function. X-Git-Tag: release-1.0.4~10 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=56c36a14d87b58c14dbc48df4d3d977207e2c06e;p=tinc Use the proper free function. --- diff --git a/src/connection.c b/src/connection.c index 834b7d77..9e5d145e 100644 --- a/src/connection.c +++ b/src/connection.c @@ -44,7 +44,7 @@ void init_connections(void) { cp(); - connection_tree = avl_alloc_tree((avl_compare_t) connection_compare, (avl_action_t) free); + connection_tree = avl_alloc_tree((avl_compare_t) connection_compare, (avl_action_t) free_connection); broadcast = new_connection(); broadcast->name = xstrdup(_("everyone")); broadcast->hostname = xstrdup(_("BROADCAST"));