diff options
author | Justus Winter <[email protected]> | 2016-11-22 11:07:55 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-11-22 11:09:47 +0000 |
commit | 6ce14a805f1da687dfb8535db57730d5c7403db7 (patch) | |
tree | 8b14e434a2335841af756addea64614c5f0cf47c /g10/tofu.c | |
parent | g10: Cache the effective policy. Recompute it when required. (diff) | |
download | gnupg-6ce14a805f1da687dfb8535db57730d5c7403db7.tar.gz gnupg-6ce14a805f1da687dfb8535db57730d5c7403db7.zip |
g10: Fix memory leak.
* g10/tofu.c (tofu_notice_key_changed): Remove spurious duplicate call
to 'hexfingerprint'.
Fixes-commit: 037f9de09298a31026ea2ab5fbd4a599b11cc34f
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'g10/tofu.c')
-rw-r--r-- | g10/tofu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/tofu.c b/g10/tofu.c index 96938931f..6eb7f5e99 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -3712,8 +3712,6 @@ tofu_notice_key_changed (ctrl_t ctrl, kbnode_t kb) pk = kb->pkt->pkt.public_key; log_assert (pk_is_primary (pk)); - fingerprint = hexfingerprint (pk, NULL, 0); - dbs = opendbs (ctrl); if (! dbs) { |