svn commit: samba r4896 - in branches/SAMBA_4_0/source/libcli/resolve: .

tridge at samba.org tridge at samba.org
Fri Jan 21 11:41:48 GMT 2005


Author: tridge
Date: 2005-01-21 11:41:48 +0000 (Fri, 21 Jan 2005)
New Revision: 4896

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4896

Log:
make sure the event context doesn't go away while waiting for event completion



Modified:
   branches/SAMBA_4_0/source/libcli/resolve/bcast.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/resolve/bcast.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/resolve/bcast.c	2005-01-21 11:31:35 UTC (rev 4895)
+++ branches/SAMBA_4_0/source/libcli/resolve/bcast.c	2005-01-21 11:41:48 UTC (rev 4896)
@@ -122,7 +122,7 @@
 
 	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;
 



More information about the samba-cvs mailing list