]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix mem leak.
authorSimon Josefsson <simon@josefsson.org>
Fri, 20 Jan 2012 12:26:05 +0000 (13:26 +0100)
committerSimon Josefsson <simon@josefsson.org>
Fri, 20 Jan 2012 12:26:05 +0000 (13:26 +0100)
lib/x509/x509.c

index 0d61c1a29d5372a56ec254e2f672c0201fe9627e..d20e9f313fb653d61dd528f1f3f2c82fb49acf29 100644 (file)
@@ -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;
 }