diff options
author | Simon Josefsson <simon@josefsson.org> | 2012-01-20 13:26:05 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2012-01-20 13:26:05 +0100 |
commit | 99e6a2b8fc1097ca69bc66eb1dd962004ea2fb04 (patch) | |
tree | a7bb95706d7393652545cec10373e5f6f75ad475 | |
parent | d384881e20be7c36e7c1399c0a647de709283cb7 (diff) | |
download | gnutls-99e6a2b8fc1097ca69bc66eb1dd962004ea2fb04.tar.gz |
Fix mem leak.
-rw-r--r-- | lib/x509/x509.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |