[git] GPGME - branch, master, updated. gpgme-1.12.0-125-ged81892

by Werner Koch cvs at cvs.gnupg.org
Fri Jan 25 15:21:27 CET 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  ed81892917f47dddc23aa99d88733e3f8f344256 (commit)
      from  7f2423371964263784252cf839269023b6573bd2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ed81892917f47dddc23aa99d88733e3f8f344256
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Jan 25 15:20:26 2019 +0100

    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: 7f2423371964263784252cf839269023b6573bd2
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 232bc50..a8f9dec 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -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);

-----------------------------------------------------------------------

Summary of changes:
 src/gpgme-json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list