Home GnuPG
Diffusion GnuPG 5b28f025085b

tools: Fix memory leak.
5b28f025085bUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tools: Fix memory leak.

* tools/gpgconf-comp.c (change_options_file): Fix leak.

Previously, 'src_filename' and 'orig_filename' leaked if creating the
backup file failed.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jan 23 2017, 11:52 AM
Parents
rG5aafa56dffef: tests: Add test demonstrating issue2929.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG5b28f025085b: tools: Fix memory leak. (authored by Justus Winter <justus@g10code.com>).Jan 24 2017, 2:35 PM