From: Nikos Mavrogiannopoulos Date: Sat, 10 Jan 2015 10:56:48 +0000 (+0100) Subject: gnutls_privkey_import_openpgp_raw: do not release the cached value X-Git-Tag: gnutls_3_4_0~374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2bf116e5e5b0080a60aab0dae63c13cb10e710d8;p=thirdparty%2Fgnutls.git gnutls_privkey_import_openpgp_raw: do not release the cached value --- diff --git a/lib/gnutls_privkey.c b/lib/gnutls_privkey.c index ad715c2d4c..43853d93d3 100644 --- a/lib/gnutls_privkey.c +++ b/lib/gnutls_privkey.c @@ -881,7 +881,7 @@ int gnutls_privkey_import_openpgp_raw(gnutls_privkey_t pkey, goto cleanup; } - ret = 0; + return 0; cleanup: gnutls_openpgp_privkey_deinit(xpriv);