Use the proper free function.

This commit is contained in:
Guus Sliepen 2004-12-03 13:27:33 +00:00
parent 18c617ecf2
commit 56c36a14d8

View file

@ -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"));