summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/conf-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index efd2147e79..95d64fcca2 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -260,6 +260,7 @@ static int parse_line(const char* unit,
"Unknown section '%s'. Ignoring.", n);
free(n);
+ free(*section);
*section = NULL;
} else {
free(*section);