Skip to content

Commit

Permalink
fix comments being doubled on a nagios reload
Browse files Browse the repository at this point in the history
  • Loading branch information
hedenface committed Jun 27, 2018
1 parent 345fd4e commit 42dd3b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/nagios.c
Expand Up @@ -878,6 +878,9 @@ int main(int argc, char **argv) {
/* clean up the scheduled downtime data */
cleanup_downtime_data();

/* clean up comment data */
free_comment_data();

/* clean up the status data if we are not restarting */
if(sigrestart == FALSE) {
cleanup_status_data(TRUE);
Expand Down

0 comments on commit 42dd3b1

Please sign in to comment.