json: Better use gpgme_free
* src/gpgme-json.c (subkey_to_json): here
--
Avoid Windows ugliness of allowing different CRTs in the same
process.
Fixes-commit: 7f24233719
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
7f24233719
commit
ed81892917
@ -1022,7 +1022,7 @@ subkey_to_json (gpgme_subkey_t sub)
|
||||
|
||||
tmp = gpgme_pubkey_algo_string (sub);
|
||||
xjson_AddStringToObject0 (result, "pubkey_algo_string", tmp);
|
||||
xfree (tmp);
|
||||
gpgme_free (tmp);
|
||||
|
||||
xjson_AddStringToObject0 (result, "keyid", sub->keyid);
|
||||
xjson_AddStringToObject0 (result, "card_number", sub->card_number);
|
||||
|
Loading…
Reference in New Issue
Block a user