From 601f3b2dd746ff5726eca256861f2ecf662b3a55 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 6 Jun 2011 20:12:33 +0200 Subject: [PATCH] Clean up digests when freeing a connection_t. --- src/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connection.c b/src/connection.c index 7fbb0fc0..5beea4d9 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); -- 2.39.5