BUG/MINOR: mworker/cli: fix mworker_cli_global_proxy_new_listener

There is no need to close proc->ipc_fd[0] on the error path in
mworker_cli_global_proxy_new_listener(), as it's already closed before by the
caller.
This commit is contained in:
Valentine Krasnobaeva 2024-10-24 18:39:55 +02:00
parent 4931d1ca5f
commit 7855069655
1 changed files with 0 additions and 1 deletions

View File

@ -3623,7 +3623,6 @@ int mworker_cli_global_proxy_new_listener(struct mworker_proc *proc)
return 0;
error:
close(proc->ipc_fd[0]);
close(proc->ipc_fd[1]);
free(err);