Home GnuPG

Fix a few memory leaks.

Description

Fix a few memory leaks.

* src/util.c (keyvalue_putf): Always free VALUE.
(keyvalue_release): Free the node.
* src/commands.c (write_rem_linef): Free BUFFER.
* src/payprocd.c (create_socket): Free SERV_ADDR,
* src/journal.c (write_log): Avoid race between free and malloc.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 15 2017, 5:49 PM
Parents
rPAY3fdf6d531959: Add Recur field also to payproc-jrnl.
Branches
Unknown
Tags
Unknown