Skip to content

Commit

Permalink
Fix memory leak in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Jul 8, 2023
1 parent 1ebf4c3 commit 044c146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/fapolicyd-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ static int check_watch_fs(void)

free_daemon_config(&config);
list_empty(&fs);
list_empty(&mnt);
if (found == 0)
printf("Nothing appears missing\n");

Expand Down

0 comments on commit 044c146

Please sign in to comment.