diff --git a/src/log.c b/src/log.c index 61c3b35..7aa6f3c 100644 --- a/src/log.c +++ b/src/log.c @@ -760,7 +760,6 @@ log_content_open(log_content_ctx_t *ctx, global_t *global, dsthost_clean = sys_ip46str_sanitize(dsthost); if (!dsthost_clean) { log_err_level_printf(LOG_CRIT, "Failed to sanitize dsthost\n"); - free(srchost_clean); goto errout; } }