svn commit: samba r10682 - in branches/SAMBA_4_0/source/smbd: .

tridge at samba.org tridge at samba.org
Mon Oct 3 09:36:53 GMT 2005


Author: tridge
Date: 2005-10-03 09:36:52 +0000 (Mon, 03 Oct 2005)
New Revision: 10682

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

Log:
force the free of the fd event first when a stream terminates. That ensures
destructors hanging off the stream connection don't trip more socket
events.

this should help with the problem volker described

Modified:
   branches/SAMBA_4_0/source/smbd/service_stream.c


Changeset:
Modified: branches/SAMBA_4_0/source/smbd/service_stream.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/service_stream.c	2005-10-03 09:00:36 UTC (rev 10681)
+++ branches/SAMBA_4_0/source/smbd/service_stream.c	2005-10-03 09:36:52 UTC (rev 10682)
@@ -55,6 +55,7 @@
 {
 	struct event_context *event_ctx = srv_conn->event.ctx;
 	const struct model_ops *model_ops = srv_conn->model_ops;
+	talloc_free(srv_conn->event.fde);
 	talloc_free(srv_conn);
 	model_ops->terminate(event_ctx, reason);
 }



More information about the samba-cvs mailing list