aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2009-11-05 02:15:04 +0000
committerMarcus Brinkmann <[email protected]>2009-11-05 02:15:04 +0000
commita0cb80c8f2798e22d49e6ed92ad42c45156ecc9e (patch)
treef821ad239666fbec5106b69d251fe200a54188bd /src/debug.c
parentExtended HELP command. (diff)
downloadlibassuan-a0cb80c8f2798e22d49e6ed92ad42c45156ecc9e.tar.gz
libassuan-a0cb80c8f2798e22d49e6ed92ad42c45156ecc9e.zip
doc/
2009-11-05 Marcus Brinkmann <[email protected]> * assuan.texi (External I/O Loop Server): Document change to assuan_process_next. src/ 2009-11-05 Marcus Brinkmann <[email protected]> * assuan-defs.h (assuan_context_t): Add member PROCESS_DONE. * assuan.h (assuan_process_next): Add argument DONE to prototype. * assuan-handler.c (assuan_process_next): Likewise, handle it. (std_handler_bye): Set PROCESS_DONE. (assuan_process_done): Handle PROCESS_DONE in the no error case. (assuan_process): Use PROCESS_DONE.
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c
index 1a0df7e..37d15cb 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -59,6 +59,7 @@ _assuan_debug (assuan_context_t ctx, unsigned int cat, const char *format, ...)
if (res < 0)
return;
ctx->log_cb (ctx, ctx->log_cb_data, cat, msg);
+ free (msg);
errno = saved_errno;
}