projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Unconditionally remove timeouts from the queue before calling the callback."
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
4f9d738
..
17675ae
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-902,6
+902,7
@@
static bool setup_myself(void) {
free(myport);
memcpy(&sa, ai->ai_addr, ai->ai_addrlen);
+ freeaddrinfo(ai);
sockaddr2str(&sa, NULL, &myport);
}