git.samba.org
/
samba-svnmirror.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make the socket_connect_send() context a child of the local state
[samba-svnmirror.git]
/
source
/
lib
/
socket
/
connect_multi.c
diff --git
a/source/lib/socket/connect_multi.c
b/source/lib/socket/connect_multi.c
index c52beaf4d0f88ccac6975ee1082af698d302f324..3948c1e2a123563718750f77abca36f29199e8fc 100644
(file)
--- a/
source/lib/socket/connect_multi.c
+++ b/
source/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);