summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/ssl.c2
1 files changed, 1 insertions, 1 deletions
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;
 }