agent: Fix memory leaks.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 30 May 2017 04:56:20 +0000 (13:56 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 30 May 2017 04:56:20 +0000 (13:56 +0900)
commit996544626ea416c173a940db47f47f9e5cbd844c
tree40ca4e161d0e75ee20aff03fbf6ada41c42cd7d9
parentde3a0988ef9addccd6b5c7950fb8797afbc3978d
agent: Fix memory leaks.

* agent/divert-scd.c (ask_for_card): Free WANT_KID and WANT_SN_DISP.
* agent/gpg-agent.c (create_server_socket): Free UNADDR.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/divert-scd.c
agent/gpg-agent.c