diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 439cfc58fc1..ee6de653e13 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -710,6 +710,7 @@ int config_parse_strv(const char *unit, if (!utf8_is_valid(n)) { log_invalid_utf8(unit, LOG_ERR, filename, line, EINVAL, rvalue); + free(n); continue; }