summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ioriot/src/utils/futils.c1
1 files changed, 1 insertions, 0 deletions
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)