projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3cc69
)
Clean up digests when freeing a connection_t.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Jun 2011 18:12:33 +0000
(20:12 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Jun 2011 18:12:33 +0000
(20:12 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
7fbb0fc
..
5beea4d
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-67,7
+67,9
@@
void free_connection(connection_t *c) {
free(c->hostname);
cipher_close(&c->incipher);
+ digest_close(&c->indigest);
cipher_close(&c->outcipher);
+ digest_close(&c->outdigest);
if(c->hischallenge)
free(c->hischallenge);