mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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>
This commit is contained in:
parent
55d8845465
commit
e56a116f9a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user