projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix handling partial SPTPS messages in sptps_test.
[tinc]
/
src
/
invitation.c
diff --git
a/src/invitation.c
b/src/invitation.c
index
c667a6e
..
4a262a8
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-1201,6
+1201,7
@@
next:
aip = aip->ai_next;
if(!aip) {
aip = aip->ai_next;
if(!aip) {
+ freeaddrinfo(ai);
return 1;
}
}
return 1;
}
}
@@
-1246,6
+1247,8
@@
next:
goto next;
}
goto next;
}
+ freeaddrinfo(ai);
+
// Check if the hash of the key he gave us matches the hash in the URL.
char *fingerprint = line + 2;
char hishash[64];
// Check if the hash of the key he gave us matches the hash in the URL.
char *fingerprint = line + 2;
char hishash[64];