httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kbr...@apache.org
Subject svn commit: r1294471 - /httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c
Date Tue, 28 Feb 2012 06:01:23 GMT
Author: kbrand
Date: Tue Feb 28 06:01:23 2012
New Revision: 1294471

URL: http://svn.apache.org/viewvc?rev=1294471&view=rev
Log:
properly free the GENERAL_NAMEs, as pointed out in PR 32652

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c?rev=1294471&r1=1294470&r2=1294471&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c Tue Feb 28 06:01:23 2012
@@ -325,7 +325,7 @@ BOOL SSL_X509_getIDs(apr_pool_t *p, X509
     }
 
     if (names)
-        sk_GENERAL_NAME_free(names);
+        sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free);
 
     /* Second, the CN-IDs (commonName attributes in the subject DN) */
     subj = X509_get_subject_name(x509);



Mime
View raw message