Skip to content

Commit

Permalink
Merge pull request #2443 from pqarmitage/updates
Browse files Browse the repository at this point in the history
vrrp: free script->path for notify scripts if set
  • Loading branch information
pqarmitage authored Jul 9, 2024
2 parents ccb4d9c + de8e605 commit a14a7c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/notify.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ free_notify_script(notify_script_t **script)
if (!*script)
return;
FREE_PTR((*script)->args);
FREE_CONST_PTR((*script)->path);
FREE_PTR(*script);
*script = NULL;
}
Expand Down

0 comments on commit a14a7c3

Please sign in to comment.