projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a few memory leaks at exit time.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
d789126
..
1257151
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-1330,7
+1330,7
@@
void close_network_connections(void) {
if(myself && myself->connection) {
subnet_update(myself, NULL, false);
-
connection_del
(myself->connection);
+
free_connection
(myself->connection);
}
for(int i = 0; i < listen_sockets; i++) {