diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-21 11:41:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:04 -0500 |
commit | c0e21a4d3eaac92387c497f75b5957d0b8a4dc8a (patch) | |
tree | 29302536173add4318d09161d596665768e247b2 /source4/libcli | |
parent | 2c0cb150057e1c437fdcf69fea6c2696f0ae4e11 (diff) | |
download | samba-c0e21a4d3eaac92387c497f75b5957d0b8a4dc8a.tar.gz samba-c0e21a4d3eaac92387c497f75b5957d0b8a4dc8a.tar.bz2 samba-c0e21a4d3eaac92387c497f75b5957d0b8a4dc8a.zip |
r4896: make sure the event context doesn't go away while waiting for event completion
(This used to be commit c1063919c069b0b36dd3da6dc6853236629804e3)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/resolve/bcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/bcast.c b/source4/libcli/resolve/bcast.c index b2d37fbfbb..d424b5303a 100644 --- a/source4/libcli/resolve/bcast.c +++ b/source4/libcli/resolve/bcast.c @@ -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; |