diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-10-19 10:35:38 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-10-19 10:35:38 +0200 |
commit | e56a116f9a1171ccf8b3293887a217953a46fc20 (patch) | |
tree | 3683f18c10258e59d9ae1243d46232ce2c77a0e7 /g10 | |
parent | gpg: If a conflict occurs in batch mode, record that. (diff) | |
download | gnupg2-e56a116f9a1171ccf8b3293887a217953a46fc20.tar.xz gnupg2-e56a116f9a1171ccf8b3293887a217953a46fc20.zip |
gpg: Don't forget to free some memory.
* g10/tofu.c (tofu_register): Free SIG_DIGEST before returning.
--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Diffstat (limited to 'g10')
-rw-r--r-- | g10/tofu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/tofu.c b/g10/tofu.c index 2d4c738e4..651092782 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -2248,6 +2248,7 @@ tofu_register (const byte *fingerprint_bin, const char *user_id, xfree (fingerprint); if (dbs) closedbs (dbs); + xfree (sig_digest); return trust_level; } |