diff options
Diffstat (limited to 'source4/smbd/process_standard.c')
-rw-r--r-- | source4/smbd/process_standard.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index 1bb30c2ef0..194c6d24cc 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -94,15 +94,7 @@ static void standard_terminate_connection(struct server_connection *conn, const DEBUG(2,("single_terminate_connection: reason[%s]\n",reason)); if (conn) { - if (conn->service) { - conn->service->ops->close_connection(conn,reason); - } - - if (conn->server_socket) { - DLIST_REMOVE(conn->server_socket->connection_list,conn); - } - - server_destroy_connection(conn); + talloc_free(conn->service->srv_ctx); } /* terminate this process */ |