core: add OOM check in config_parse_join_controllers
This commit is contained in:
parent
3875c85bae
commit
1592ec21b3
|
@ -561,6 +561,8 @@ static int config_parse_join_controllers(const char *unit,
|
|||
break;
|
||||
|
||||
l = strv_split(word, ",");
|
||||
if (!l)
|
||||
log_oom();
|
||||
strv_uniq(l);
|
||||
|
||||
if (strv_length(l) <= 1) {
|
||||
|
|
Loading…
Reference in a new issue