diff options
author | Neal H. Walfield <[email protected]> | 2016-12-06 11:14:49 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-12-06 11:16:59 +0000 |
commit | 6102099985c1b82b6c0bba0464c1f913cc673e96 (patch) | |
tree | 653cbcda411c8e647149c99500b209d11c8ba4cc /g10/gpg.c | |
parent | tests: Change (interactive-shell) to start an interactive shell (diff) | |
download | gnupg-6102099985c1b82b6c0bba0464c1f913cc673e96.tar.gz gnupg-6102099985c1b82b6c0bba0464c1f913cc673e96.zip |
g10: Avoid a memory leak.
* g10/gpg.c (main): Free KB when we're done with it.
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r-- | g10/gpg.c | 2 |
1 files changed, 2 insertions, 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); |