1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

config-parser: fix mem leak

This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-08-31 23:13:12 +02:00
parent e4c38cc36e
commit 9e60277835
Notes: Lennart Poettering 2014-10-24 17:49:46 +02:00
Backport: bugfix

View File

@ -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;
}