From 62f3123d3877c8a84961e5f907bf959d4593fa5c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 31 May 2017 20:18:53 +0900 Subject: Use gpgrt_free to release memory allocated by gpgrt_asprintf. * src/assuan-logging.c (_assuan_log_control_channel): Use gpgrt_free. * src/debug.c (_assuan_debug, _assuan_debug_add, _assuan_debug_end): Likewise. Signed-off-by: NIIBE Yutaka --- src/assuan-logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/assuan-logging.c') diff --git a/src/assuan-logging.c b/src/assuan-logging.c index ca87488..fd47582 100644 --- a/src/assuan-logging.c +++ b/src/assuan-logging.c @@ -296,7 +296,7 @@ _assuan_log_control_channel (assuan_context_t ctx, int outbound, else if (outbuf) { ctx->log_cb (ctx, ctx->log_cb_data, ASSUAN_LOG_CONTROL, outbuf); - free (outbuf); + gpgrt_free (outbuf); } #undef TOHEX #undef CHANNEL_FMT -- cgit v1.2.3