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
cf5ec1b
..
bdbf1c3
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-75,12
+75,12
@@
void free_connection(connection_t *c) {
if(c->config_tree)
exit_configuration(&c->config_tree);
- if(c->buffer)
- bufferevent_free(c->buffer);
-
if(c->thread)
thread_destroy(&c->thread);
+ if(c->rsa)
+ rsa_free(c->rsa);
+
free(c);
}