From: Simon Josefsson Date: Fri, 20 Jan 2012 12:26:05 +0000 (+0100) Subject: Fix mem leak. X-Git-Tag: gnutls-3_0_12~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99e6a2b8fc1097ca69bc66eb1dd962004ea2fb04;p=thirdparty%2Fgnutls.git Fix mem leak. --- diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 0d61c1a29d..d20e9f313f 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -2702,6 +2702,8 @@ gnutls_x509_crt_get_crl_dist_points (gnutls_x509_crt_t cert, *reason_flags = reasons[0] | (reasons[1] << 8); } + asn1_delete_structure (&c2); + return type; }