From 13db2011e3b83e7a73b8465c8487edb9a2913c58 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 9 Jan 2015 17:25:45 -0500 Subject: Fix leak From libressl-portable/openbsd@20de8a4923bbeb --- src/common/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/ssl.c b/src/common/ssl.c index 78c3c510..0a1db9f6 100644 --- a/src/common/ssl.c +++ b/src/common/ssl.c @@ -483,7 +483,7 @@ _SSL_check_subject_altname (X509 *cert, const char *host) if (addr != NULL) g_object_unref (addr); - sk_GENERAL_NAME_free (altname_stack); + sk_GENERAL_NAME_pop_free (altname_stack, GENERAL_NAME_free); return rv; } -- cgit 1.4.1