1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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

View File

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