mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g10: Avoid a memory leak.
* g10/gpg.c (main): Free KB when we're done with it. Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
db6d8cfdc1
commit
6102099985
1 changed files with 2 additions and 0 deletions
|
@ -4845,6 +4845,8 @@ main (int argc, char **argv)
|
|||
merge_keys_and_selfsig (kb);
|
||||
if (tofu_set_policy (ctrl, kb, policy))
|
||||
g10_exit (1);
|
||||
|
||||
release_kbnode (kb);
|
||||
}
|
||||
|
||||
tofu_end_batch_update (ctrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue