aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-02-10 16:16:07 +0000
committerWerner Koch <[email protected]>2017-02-10 16:58:26 +0000
commit5996c7bf99f3a681393fd9589276399ebc956cff (patch)
tree57a04b9d2eb7745e8d49c3e0597cd79c10e4ea31 /dirmngr/ldap.c
parentcommon: Avoid warning about implicit declaration of gnupg_fd_valid. (diff)
downloadgnupg-5996c7bf99f3a681393fd9589276399ebc956cff.tar.gz
gnupg-5996c7bf99f3a681393fd9589276399ebc956cff.zip
gpg: Fix memory leak in the error case of signature creation.
* g10/sign.c (write_signature_packets): Free SIG. Also replace xcalloc by xtrycalloc. -- If do_sign fails SIG was not released. Note that in the good case SIG is transferred to PKT and freed by free_packet. Reported-by: Stephan Müller Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions