projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
de7d9ee
)
Call sockaddrfree(&e->local_address) in free_edge() instead of exit_edges().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:53:11 +0000
(17:53 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:53:11 +0000
(17:53 +0200)
The proper place to clean up resources of objects is in their
destructor. This makes sure proper cleanup when edge_del() is called as
well. At exit, free_edge() is called on all edges by free_edge_tree(),
which is called by exit_nodes().
No differences found