mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-23 15:07:03 +01:00
g10: Fix memory leak.
* g10/mainproc.c (release_list): Do not exit early if list is NULL, there are other resources that must be released. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
5003caa8fd
commit
abae8a9dc8
@ -124,8 +124,6 @@ reset_literals_seen(void)
|
||||
static void
|
||||
release_list( CTX c )
|
||||
{
|
||||
if (!c->list)
|
||||
return;
|
||||
proc_tree (c, c->list);
|
||||
release_kbnode (c->list);
|
||||
while (c->pkenc_list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user