mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-05 12:31:50 +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);
|
xfree (fingerprint);
|
||||||
if (dbs)
|
if (dbs)
|
||||||
closedbs (dbs);
|
closedbs (dbs);
|
||||||
|
xfree (sig_digest);
|
||||||
|
|
||||||
return trust_level;
|
return trust_level;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user