Fix double free, thanks to @disaykin

master
Soner Tari 1 year ago
parent 30ed5b4200
commit 7f201c59de

@ -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;
}
}

Loading…
Cancel
Save