Clean up digests when freeing a connection_t.
This commit is contained in:
parent
8b3cc695b5
commit
601f3b2dd7
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue