gpg: Add standard free() semantic to pubkey_free.
authorWerner Koch <wk@gnupg.org>
Wed, 23 Dec 2015 14:17:50 +0000 (15:17 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 23 Dec 2015 14:17:50 +0000 (15:17 +0100)
commit04c9cddda95f2a8ca5c0cf10bb3dd6accf56cf45
treea24d253e33ce995a06090400c9ea151d7ef8d2fb
parentef7b7e91600f35b4d682a6267001a8d30f0fa49f
gpg: Add standard free() semantic to pubkey_free.

* g10/getkey.c (pubkey_free): Check for NULL arg.
--

We don't like surprises ;-)

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/getkey.c