aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
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;
}