Home GnuPG
Diffusion GPGME 85a07ca7e3df

w32: Fix memleak in an error code paths.
85a07ca7e3dfUnpublished

Unpublished Commit · Learn More

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

Description

w32: Fix memleak in an error code paths.

* src/w32-io.c (create_writer): Free CTX in cased of bad FD.
* src/w32-util.c (_gpgme_mkstemp): Free TMPNAME in case of a failed
mkstemp.

Found by Hans-Christoph Steiner with cppcheck.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rM2bb26185e3b9: Fix possible zombie processes.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM85a07ca7e3df: w32: Fix memleak in an error code paths. (authored by Werner Koch <wk@gnupg.org>).Apr 15 2014, 10:18 PM