1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r2250: removed unnecessary mem_ctx

(This used to be commit c455a3a61d)
This commit is contained in:
Andrew Tridgell 2004-09-08 07:48:55 +00:00 committed by Gerald (Jerry) Carter
parent 893c62d383
commit 24f972a071

View File

@ -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;