[git] GpgOL - branch, master, updated. gpgol-2.3.0-53-gc12a5e1
by Andre Heinecke
cvs at cvs.gnupg.org
Tue Sep 25 14:14:40 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 "GnuPG extension for MS Outlook".
The branch, master has been updated
via c12a5e1ce493d7a15b7b8a092d96be52822bbe1e (commit)
from df9b3ca85d7f9702f268cef46c276a89b6e14e4f (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 c12a5e1ce493d7a15b7b8a092d96be52822bbe1e
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Tue Sep 25 14:13:24 2018 +0200
Fix memdbg error for log_file
* src/debug.cpp (set_log_file): Do not use memdbg decorated
functions.
--
The log file is first set in conjunction with reading the
debug options. So we do not memdbg the alloc and later
get an error when options are read again. This
fixes an Error message.
diff --git a/src/debug.cpp b/src/debug.cpp
index 13a33bb..c453b39 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -67,11 +67,12 @@ set_log_file (const char *name)
fclose (logfp);
logfp = NULL;
}
- xfree (logfile);
+ free (logfile);
if (!name || *name == '\"' || !*name)
logfile = NULL;
else
- logfile = xstrdup (name);
+ logfile = strdup (name);
+
#ifdef HAVE_W32_SYSTEM
unlock_log ();
}
-----------------------------------------------------------------------
Summary of changes:
src/debug.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
GnuPG extension for MS Outlook
http://git.gnupg.org
More information about the Gnupg-commits
mailing list