1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

r11823: make the socket_connect_send() context a child of the local state

this fixes a valgrind error
(This used to be commit db9c0887bd24de4d81b5afa2ff096b3ba65c9720)
This commit is contained in:
Andrew Tridgell 2005-11-21 09:31:36 +00:00 committed by Gerald (Jerry) Carter
parent eeb093f6a9
commit 93e83f4086

View File

@ -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);