Skip to content

Commit 9d6e322

Browse files
authored
Merge pull request #2616 from pqarmitage/updates
track_file: fix memory leak
2 parents f722404 + d8ee122 commit 9d6e322

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

keepalived/trackers/track_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ track_file_end_handler(void)
409409
errno, track_file->fname);
410410

411411
FREE_CONST(track_file->fname);
412+
FREE_CONST(track_file->file_path);
412413
FREE(track_file);
413414

414415
return;

0 commit comments

Comments
 (0)