Fix Segmentation fault in close journal

This commit is contained in:
t.feng 2022-08-08 11:36:59 +08:00 committed by GitHub
parent 8dce9f2dc6
commit eab250be37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -991,7 +991,9 @@ CODESTARTafterRun
persistJournalState();
}
closeJournal();
ratelimitDestruct(ratelimiter);
if (ratelimiter) {
ratelimitDestruct(ratelimiter);
}
ENDafterRun