summaryrefslogtreecommitdiff
path: root/src/basic/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r--src/basic/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c
index b9a9f74892..13c03b4f55 100644
--- a/src/basic/fileio.c
+++ b/src/basic/fileio.c
@@ -780,6 +780,7 @@ static int merge_env_file_push(
if (!env_name_is_valid(key)) {
log_error("%s:%u: invalid variable name \"%s\", ignoring.", strna(filename), line, key);
+ free(value);
return 0;
}