mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
config-parser: fix mem leak
This commit is contained in:
parent
e4c38cc36e
commit
9e60277835
Notes:
Lennart Poettering
2014-10-24 17:49:46 +02:00
Backport: bugfix
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user