bus-proxyd: avoid logging oom twice

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-03-03 00:05:14 -05:00
parent 576a13eaf6
commit c29005212d

View file

@ -68,7 +68,7 @@ static int client_context_new(ClientContext **out) {
c = new0(ClientContext, 1);
if (!c)
return log_oom();
return -ENOMEM;
c->fd = -1;