mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g10: Fix memory leak.
* g10/keygen.c (read_parameter_file): Free 'line'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
1de362af90
commit
eb4cdbefb0
1 changed files with 1 additions and 0 deletions
|
@ -3481,6 +3481,7 @@ read_parameter_file (ctrl_t ctrl, const char *fname )
|
|||
xfree( outctrl.pub.newfname );
|
||||
}
|
||||
|
||||
xfree (line);
|
||||
release_parameter_list( para );
|
||||
iobuf_close (fp);
|
||||
release_armor_context (outctrl.pub.afx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue