Don't segfault if the first 'auto-key-locate' option is 'clear'.
authorNeal H. Walfield <neal@g10code.com>
Thu, 16 Jul 2015 07:57:27 +0000 (09:57 +0200)
committerNeal H. Walfield <neal@g10code.com>
Thu, 16 Jul 2015 07:57:41 +0000 (09:57 +0200)
commitf2ee673c99825d5189631031ddec2dbf54dbd482
treef517fac1f059a516658e04f3199d4e93a43fa26a
parentb3286af36d452fc801be573a057b0838d53a2edd
Don't segfault if the first 'auto-key-locate' option is 'clear'.

* g10/getkey.c (free_akl): If AKL is NULL, just return.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
Reported-by: Sami Farin.
GnuPG-bug-id: 2045
g10/getkey.c