From: Guus Sliepen Date: Mon, 6 Jun 2011 18:12:33 +0000 (+0200) Subject: Clean up digests when freeing a connection_t. X-Git-Tag: release-1.1pre1~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=601f3b2dd746ff5726eca256861f2ecf662b3a55;p=oweals%2Ftinc.git Clean up digests when freeing a connection_t. --- diff --git a/src/connection.c b/src/connection.c index 7fbb0fc..5beea4d 100644 --- 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);