diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-18 11:21:53 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-18 11:21:53 +0100 |
commit | bd55749b19366d7c9e5d9e3b772f6cff5249b089 (patch) | |
tree | 51624dfae0ec017beb2eb48e777388273085fc33 /lib/verify-tofu.c | |
parent | 4f07c19f3638d4917cf20b995eae41d3d2dbd65c (diff) | |
download | gnutls-bd55749b19366d7c9e5d9e3b772f6cff5249b089.tar.gz |
corrected memory leak
Diffstat (limited to 'lib/verify-tofu.c')
-rw-r--r-- | lib/verify-tofu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c index 11300aad79..aed2e53b61 100644 --- a/lib/verify-tofu.c +++ b/lib/verify-tofu.c @@ -143,7 +143,7 @@ char local_file[MAX_FILENAME]; ret = tdb->verify(db_name, host, service, &pubkey); if (ret < 0) - return gnutls_assert_val(GNUTLS_E_NO_CERTIFICATE_FOUND); + ret = gnutls_assert_val(GNUTLS_E_NO_CERTIFICATE_FOUND); cleanup: gnutls_free(pubkey.data); |