git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea73c1
)
r10682: force the free of the fd event first when a stream terminates. That ensures
author
Andrew Tridgell
<tridge@samba.org>
Mon, 3 Oct 2005 09:36:52 +0000
(09:36 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:39:18 +0000
(13:39 -0500)
destructors hanging off the stream connection don't trip more socket
events.
this should help with the problem volker described
(This used to be commit
fd8eccd5bf0c742a7809f3991101f4ac75b5e037
)
source4/smbd/service_stream.c
patch
|
blob
|
history
diff --git
a/source4/smbd/service_stream.c
b/source4/smbd/service_stream.c
index 3cecd8076ef051c5592221cb8cef2fc7e5848f26..1ed8b4d8af6e381e8747a595e75c83d0047eb2ad 100644
(file)
--- a/
source4/smbd/service_stream.c
+++ b/
source4/smbd/service_stream.c
@@
-55,6
+55,7
@@
void stream_terminate_connection(struct stream_connection *srv_conn, const char
{
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);
}