summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/resolve/bcast.c2
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;