Skip to content

Commit 7855069

Browse files
committed
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.
1 parent 4931d1c commit 7855069

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cli.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3623,7 +3623,6 @@ int mworker_cli_global_proxy_new_listener(struct mworker_proc *proc)
36233623
return 0;
36243624

36253625
error:
3626-
close(proc->ipc_fd[0]);
36273626
close(proc->ipc_fd[1]);
36283627
free(err);
36293628

0 commit comments

Comments
 (0)