mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r10682: 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
(This used to be commit fd8eccd5bf
)
This commit is contained in:
parent
aea73c168b
commit
28bc38de2a
@ -55,6 +55,7 @@ void stream_terminate_connection(struct stream_connection *srv_conn, const char
|
|||||||
{
|
{
|
||||||
struct event_context *event_ctx = srv_conn->event.ctx;
|
struct event_context *event_ctx = srv_conn->event.ctx;
|
||||||
const struct model_ops *model_ops = srv_conn->model_ops;
|
const struct model_ops *model_ops = srv_conn->model_ops;
|
||||||
|
talloc_free(srv_conn->event.fde);
|
||||||
talloc_free(srv_conn);
|
talloc_free(srv_conn);
|
||||||
model_ops->terminate(event_ctx, reason);
|
model_ops->terminate(event_ctx, reason);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user