Home GnuPG
Diffusion GnuPG 7db6c82cec49

kbx: Fix resource leak.
7db6c82cec49Unpublished

Unpublished Commit · Learn More

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

Description

kbx: Fix resource leak.

* kbx/keybox-update.c (blob_filecopy): Fix resource leak.  On error
return, 'fp' and 'newfp' was never closed.

[Log entry reformatted, and added more fixes - gniibe]

  • Signed-off-by: Joshua Rogers <git@internot.info>

Details

Provenance
Joshua Rogers <git@internot.info>Authored on Jan 30 2015, 3:42 AM
gniibeCommitted on Jan 30 2015, 3:48 AM
Parents
rG6ab0fac575a8: agent: Fix use of imported but unprotected openpgp keys.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG7db6c82cec49: kbx: Fix resource leak. (authored by Joshua Rogers <git@internot.info>).Jan 30 2015, 3:48 AM