Use the proper free function.
This commit is contained in:
parent
18c617ecf2
commit
56c36a14d8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void init_connections(void)
|
||||||
{
|
{
|
||||||
cp();
|
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 = new_connection();
|
||||||
broadcast->name = xstrdup(_("everyone"));
|
broadcast->name = xstrdup(_("everyone"));
|
||||||
broadcast->hostname = xstrdup(_("BROADCAST"));
|
broadcast->hostname = xstrdup(_("BROADCAST"));
|
||||||
|
|
Loading…
Reference in a new issue