mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: Fix memory leak.
* g10/mainproc.c (check_sig_and_print): Free 'pk'. Fixes-commit: 37e3c897252babc203447be9d2f286a4507875ad Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
83c184a66b
commit
2cd281c4de
@ -2203,6 +2203,8 @@ check_sig_and_print (CTX c, kbnode_t node)
|
||||
}
|
||||
}
|
||||
|
||||
free_public_key (pk);
|
||||
pk = NULL;
|
||||
release_kbnode( keyblock );
|
||||
if (rc)
|
||||
g10_errors_seen = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user