[git] GPG-ERROR - branch, master, updated. libgpg-error-1.32-42-gb229ed4

by Ben Kibbey cvs at cvs.gnupg.org
Sat Oct 27 21:26:20 CEST 2018


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 "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  b229ed40e2653bd3eabaa6931cd8582280a226d7 (commit)
      from  aec676c9ca2da4feb2970f6ce036179afe778b25 (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 b229ed40e2653bd3eabaa6931cd8582280a226d7
Author: Ben Kibbey <bjk at luxsci.net>
Date:   Sat Oct 27 12:22:25 2018 -0700

    b64dec: Fix to use custom memory handlers.
    
    * src/b64dec.c (_gpgrt_b64dec_finish): Use xfree().
    
    Signed-off-by: Ben Kibbey <bjk at luxsci.net>

diff --git a/src/b64dec.c b/src/b64dec.c
index 1235406..868d985 100644
--- a/src/b64dec.c
+++ b/src/b64dec.c
@@ -270,10 +270,10 @@ _gpgrt_b64dec_finish (gpgrt_b64state_t state)
     err = state->lasterr;
   else
     {
-      free (state->title);
+      xfree (state->title);
       err = state->invalid_encoding? GPG_ERR_BAD_DATA : 0;
     }
-  free (state);
+  xfree (state);
 
   return err;
 }

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

Summary of changes:
 src/b64dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list