diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index efd2147e798..95d64fcca25 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);