diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-01-13 13:14:55 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-01-13 13:15:16 +0100 |
commit | 1c412dd2778aa37aa47b49d40c538848b24cb1e9 (patch) | |
tree | 29988f420babba640c5625fe10428bfc655b6f53 | |
parent | d3e42fd6f0afd07ce7d2161b3eafc359aeb5dad2 (diff) | |
download | gnutls-1c412dd2778aa37aa47b49d40c538848b24cb1e9.tar.gz |
gnutls_pubkey_import_x509_raw: fixed memory leak
-rw-r--r-- | lib/gnutls_pubkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_pubkey.c b/lib/gnutls_pubkey.c index 04e02d18bd..5a7b6676b3 100644 --- a/lib/gnutls_pubkey.c +++ b/lib/gnutls_pubkey.c @@ -2077,7 +2077,7 @@ int gnutls_pubkey_import_x509_raw(gnutls_pubkey_t pkey, goto cleanup; } - return 0; + ret = 0; cleanup: gnutls_x509_crt_deinit(xpriv); |