From 4d923223e1d705166ed5cb0d32fb27f4ad1c011a Mon Sep 17 00:00:00 2001 From: AnouarMohamed Date: Thu, 23 Apr 2026 15:56:29 +0100 Subject: [PATCH 1/3] Close config files after parsing --- fdrd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdrd.c b/fdrd.c index a899110..0522f8a 100644 --- a/fdrd.c +++ b/fdrd.c @@ -590,6 +590,7 @@ read_config_file(const char *fpath, const struct stat *sb, int typeflag) insp = malloc(sizeof(struct instance)); if (insp == NULL) { perror("malloc"); + fclose(f); return 1; } insque(insp, &anchor); @@ -714,6 +715,7 @@ read_config_file(const char *fpath, const struct stat *sb, int typeflag) insp->ilast = itp; } } + fclose(f); return 0; } From 3fc28a2169146ef2d715078488debeec0855d786 Mon Sep 17 00:00:00 2001 From: AnouarMohamed Date: Thu, 23 Apr 2026 23:29:48 +0100 Subject: [PATCH 2/3] chore: retrigger PR checks Signed-off-by: AnouarMohamed From f6aa459b9e3b6c6a2459b09c360394936f1b1b2a Mon Sep 17 00:00:00 2001 From: Anouar Mohamed Date: Mon, 1 Jun 2026 05:49:05 +0100 Subject: [PATCH 3/3] Fix formatting by removing extra blank line Removed a blank line at the beginning of the README. Signed-off-by: Anouar Mohamed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ac498d..b04c520 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Flight Data Recorder - + ## Description The flight data recorder (fdr) is a daemon which enables ftrace probes,