Revert "commands_utils: fix socket leak in when adding state client"

This reverts commit d7aa5552. Signed-off-by: 's avatarMatthias Hardt <matthias.hardt@gmail.com>
parent ee38ab3f
......@@ -195,7 +195,6 @@ int lxc_add_state_client(int state_client_fd, struct lxc_handler *handler,
lxc_list_add_elem(tmplist, newclient);
lxc_list_add_tail(&handler->conf->state_clients, tmplist);
} else {
close(state_client_fd);
return state;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment