output/redis: Fix possible segv

pull/6304/head
KevinWang 4 years ago committed by Victor Julien
parent 7ca4b13568
commit cbd03c7ea4

@ -210,6 +210,7 @@ static int SCConfLogReopenAsyncRedis(LogFileCtx *log_ctx)
if (ctx->ev_base != NULL) {
event_base_free(ctx->ev_base);
ctx->ev_base = NULL;
}
if (ctx->async == NULL) {

Loading…
Cancel
Save