From: Lennart Poettering Date: Tue, 22 Sep 2015 23:11:08 +0000 (+0200) Subject: core: exit early if we hit OOM X-Git-Tag: v227~62^2~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa8aeac0504388a73e8c29a969d9665280f90d56;p=thirdparty%2Fsystemd.git core: exit early if we hit OOM --- diff --git a/src/core/main.c b/src/core/main.c index 509b650395b..97bad760c1e 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -513,7 +513,7 @@ static int config_parse_join_controllers(const char *unit, l = strv_split(word, ","); if (!l) - log_oom(); + return log_oom(); strv_uniq(l); if (strv_length(l) <= 1) {