tools: Avoid memory leak from gpgspilt.

* tools/gpgsplit.c (write_part): Free memory when no longer needed.

--

GnuPG-bug-id: 5393
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen 2021-04-12 14:48:59 +02:00 committed by NIIBE Yutaka
parent c0b99e6dbb
commit 50e6d63f12
1 changed files with 1 additions and 0 deletions

View File

@ -620,6 +620,7 @@ write_part (FILE *fpin, unsigned long pktlen,
}
}
xfree (blob);
goto ready;
}