mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r4896: make sure the event context doesn't go away while waiting for event completion
(This used to be commit c1063919c069b0b36dd3da6dc6853236629804e3)
This commit is contained in:
parent
2c0cb15005
commit
c0e21a4d3e
@ -122,7 +122,7 @@ struct smbcli_composite *resolve_name_bcast_send(struct nbt_name *name,
|
||||
|
||||
c->state = SMBCLI_REQUEST_SEND;
|
||||
c->private = state;
|
||||
c->event_ctx = state->nbtsock->event_ctx;
|
||||
c->event_ctx = talloc_reference(c, state->nbtsock->event_ctx);
|
||||
|
||||
return c;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user