chiark / gitweb /
bus-proxyd: avoid logging oom twice
[elogind.git] / src / bus-proxyd / bus-proxyd.c
index 9645c504f538230906f5e145ed7d29f9aaeb9b8a..d612816851291e02b2388460a72631474fe9d800 100644 (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;