summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-08 00:00:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:34 -0500
commit8293df91bcec574fb4a2b290cc11dd83353264ae (patch)
tree61f9c0a70bec06a0e39ac80e5edab51195da36b6 /source4/smb_server
parent915f2e539d4b2f5f4eb87a1f64f50f3d9a17743a (diff)
downloadsamba-8293df91bcec574fb4a2b290cc11dd83353264ae.tar.gz
samba-8293df91bcec574fb4a2b290cc11dd83353264ae.tar.bz2
samba-8293df91bcec574fb4a2b290cc11dd83353264ae.zip
r2247: talloc_destroy -> talloc_free
(This used to be commit 6c1a72c5d667245b1eec94f58e68acd22dd720ce)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 961cd927ec..d12915957e 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -727,7 +727,7 @@ static void smbsrv_init(struct server_service *service, const struct model_ops *
ifip = interpret_addr2(mem_ctx, lp_socket_address());
add_socket(service, model_ops, NULL, ifip);
- talloc_destroy(mem_ctx);
+ talloc_free(mem_ctx);
}
}
@@ -783,7 +783,7 @@ static void smbsrv_close(struct server_connection *conn, const char *reason)
conn_close_all(smb_conn);
- talloc_destroy(smb_conn->mem_ctx);
+ talloc_free(smb_conn->mem_ctx);
return;
}