Home GnuPG

Fix minor memory leaks
d60ef7192ad9Unpublished

Unpublished Commit · Learn More

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

Description

Fix minor memory leaks

* src/assuan-pipe-connect.c (socketpair_connect): Always free
CHILD_FDS.
* src/assuan-uds.c (uds_sendfd): Clear CONTROL_U to silence Valgrind.
* tests/fdpassing.c (main): Free FNAME.
* src/assuan-handler.c (dispatch_command): Remove dead assignment.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 25 2016, 4:59 PM
Parents
rA7101fcbb6622: Improve getting of max. number of open fds.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rAd60ef7192ad9: Fix minor memory leaks (authored by Werner Koch <wk@gnupg.org>).Jun 25 2016, 4:59 PM