[git] GPGME - branch, master, updated. gpgme-1.12.0-29-g9eef23f

by Werner Koch cvs at cvs.gnupg.org
Tue Oct 30 11:20:49 CET 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 "GnuPG Made Easy".

The branch, master has been updated
       via  9eef23fcf39f2b2eb2645afd31a79ba1286d9885 (commit)
      from  7a1b58045f980c4df76daf225a2a1b604e8604d2 (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 9eef23fcf39f2b2eb2645afd31a79ba1286d9885
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Oct 30 11:19:33 2018 +0100

    w32: Fix previous commit.
    
    * src/w32-io.c (_gpgme_io_spawn): Move freeing of TMP_NAME behind its
    use in an error handling.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/w32-io.c b/src/w32-io.c
index d3b1b91..52327af 100644
--- a/src/w32-io.c
+++ b/src/w32-io.c
@@ -1678,9 +1678,6 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
       return TRACE_SYSRES (-1);
     }
 
-  free (tmp_name);
-  free (arg_string);
-
   if (flags & IOSPAWN_FLAG_ALLOW_SET_FG)
     _gpgme_allow_set_foreground_window ((pid_t)pi.dwProcessId);
 
@@ -1763,6 +1760,8 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
      (hopefully).  */
 #endif
 
+  free (tmp_name);
+  free (arg_string);
 
   TRACE_LOG4 ("CreateProcess ready: hProcess=%p, hThread=%p, "
 	      "dwProcessID=%d, dwThreadId=%d",

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

Summary of changes:
 src/w32-io.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list