summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/smb_server.c')
-rw-r--r--source4/smb_server/smb_server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index a413a7dd4b..69b0b35346 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -815,13 +815,10 @@ void smbd_process_async(struct smbsrv_connection *smb_conn)
void smbsrv_accept(struct server_connection *conn)
{
struct smbsrv_connection *smb_conn;
- TALLOC_CTX *mem_ctx;
char *socket_addr;
DEBUG(5,("smbsrv_accept\n"));
- mem_ctx = talloc_init("smbsrv_context");
-
smb_conn = talloc_p(conn, struct smbsrv_connection);
if (!smb_conn) return;