mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue