summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/socket/connect_multi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c
index c52beaf4d0..3948c1e2a1 100644
--- a/source4/lib/socket/connect_multi.c
+++ b/source4/lib/socket/connect_multi.c
@@ -155,6 +155,7 @@ static void connect_multi_next_socket(struct composite_context *result)
creq = socket_connect_send(state->sock, NULL, 0,
multi->server_address, state->port, 0, result->event_ctx);
if (composite_nomem(creq, result)) return;
+ talloc_steal(state, creq);
composite_continue(result, creq, continue_one, state);