projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672ad56
)
Free memory used by connection_t after it is deleted from the connection tree.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 3 Dec 2004 13:22:18 +0000
(13:22 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 3 Dec 2004 13:22:18 +0000
(13:22 +0000)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index 60dd541119eeaf498c0f1562626a50ac34efaf3c..834b7d7735fdccdddb3b304bc35a907e804ae24f 100644
(file)
--- 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,
NULL
);
+ connection_tree = avl_alloc_tree((avl_compare_t) connection_compare,
(avl_action_t) free
);
broadcast = new_connection();
broadcast->name = xstrdup(_("everyone"));
broadcast->hostname = xstrdup(_("BROADCAST"));