mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-05 23:07:49 +02: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…
Reference in New Issue
Block a user