diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smb_server/conn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/smb_server/conn.c b/source4/smb_server/conn.c index 0498b3cb5d..f8cb145cd8 100644 --- a/source4/smb_server/conn.c +++ b/source4/smb_server/conn.c @@ -152,7 +152,6 @@ void conn_free(struct server_context *smb, struct tcon_context *conn) bitmap_clear(smb->tree.bmap, conn->cnum); smb->tree.num_open--; - ZERO_STRUCTP(conn); - SAFE_FREE(conn); + talloc_destroy(conn->mem_ctx); } |