projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Free resources in rsa_t.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
2fa789b
..
bdbf1c3
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-78,6
+78,9
@@
void free_connection(connection_t *c) {
if(c->thread)
thread_destroy(&c->thread);
if(c->thread)
thread_destroy(&c->thread);
+ if(c->rsa)
+ rsa_free(c->rsa);
+
free(c);
}
free(c);
}