g10: Avoid memory leaks
* g10/call-agent.c (card_keyinfo_cb): free keyinfo. Restructure to avoid backward gotos. * g10/keyedit.c (menu_set_keyserver_url): properly enclose the block * g10/keygen.c (gen_card_key): free pk and pkt
Additional changes:
- Restructure to avoid backward gotos.
- Signed-off-by: Werner Koch <wk@gnupg.org>
- GnuPG-bug-id: T5393