Home GnuPG
Diffusion GnuPG 04a6b903d035

g10: Don't leak memory if we fail to initialize a new database handle.
04a6b903d035Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: Don't leak memory if we fail to initialize a new database handle.

* g10/keydb.c (keydb_new): If we fail to open a keyring or keybox
correctly release all resources.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 31 2015, 11:22 AM
Parents
rG360b699e9b4b: g10: Improve interface documentation of the keydb API.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG04a6b903d035: g10: Don't leak memory if we fail to initialize a new database handle. (authored by Neal H. Walfield <neal@g10code.com>).Aug 31 2015, 11:30 AM