From b7a9aa7200cb8e935f57a772ea8487687980f787 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 19 Mar 2026 08:28:38 +0200 Subject: fix: free cache_file getline buffer (task 473) --- ioriot/src/utils/futils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ioriot/src/utils/futils.c b/ioriot/src/utils/futils.c index 366756a..5cbe4e1 100644 --- a/ioriot/src/utils/futils.c +++ b/ioriot/src/utils/futils.c @@ -255,6 +255,7 @@ void cache_file(const char *file) while ((read = getline(&line, &len, fd)) != -1); fclose(fd); + free(line); } void drop_caches(void) -- cgit v1.2.3