1
0
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:
Neal H. Walfield 2015-10-19 10:35:38 +02:00
parent 55d8845465
commit e56a116f9a

View File

@ -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;
}