From eb8dfc8cc933cd9bfc420900416bfcb09a6ff682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Tue, 25 Jun 2013 21:35:13 +0000 Subject: Clean-up after ourselves git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5223 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network-openssl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index 89b6a0e9..514f748e 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -227,10 +227,12 @@ static gboolean irssi_ssl_verify(SSL *ssl, SSL_CTX *ctx, const char* hostname, i if (val_dane_check(NULL, ssl, danestatus, &do_certificate_check) != VAL_DANE_NOERROR) { g_warning("DANE: TLSA record for hostname %s port %d could not be verified", hostname, port); signal_emit("tlsa verification failed", 1, server); + val_free_dane(danestatus); return FALSE; } signal_emit("tlsa verification success", 1, server); + val_free_dane(danestatus); if (do_certificate_check == 0) { return TRUE; -- cgit v1.2.3