summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-08 07:48:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:34 -0500
commit24f972a071e21cae80a2bd02b15928f9dad486d2 (patch)
tree36534c89f27d1f1af9f2bf02af681cdd7630a118 /source4/smb_server
parent893c62d38388b20c52cf3c45069d836c46f42bd3 (diff)
downloadsamba-24f972a071e21cae80a2bd02b15928f9dad486d2.tar.gz
samba-24f972a071e21cae80a2bd02b15928f9dad486d2.tar.bz2
samba-24f972a071e21cae80a2bd02b15928f9dad486d2.zip
r2250: removed unnecessary mem_ctx
(This used to be commit c455a3a61d587f5126236d8c11ba84e19d4f038a)
Diffstat (limited to 'source4/smb_server')
-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;