Skip to content

Commit

Permalink
Fix Segmentation fault in close journal
Browse files Browse the repository at this point in the history
  • Loading branch information
t-feng authored Aug 8, 2022
1 parent 8dce9f2 commit eab250b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/imjournal/imjournal.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,9 @@ CODESTARTafterRun
persistJournalState();
}
closeJournal();
ratelimitDestruct(ratelimiter);
if (ratelimiter) {
ratelimitDestruct(ratelimiter);
}
ENDafterRun


Expand Down

0 comments on commit eab250b

Please sign in to comment.