core: add OOM check in config_parse_join_controllers

This commit is contained in:
Filipe Brandenburger 2015-09-01 08:31:34 -07:00
parent 3875c85bae
commit 1592ec21b3

View file

@ -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) {