From 8293df91bcec574fb4a2b290cc11dd83353264ae Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 8 Sep 2004 00:00:56 +0000 Subject: r2247: talloc_destroy -> talloc_free (This used to be commit 6c1a72c5d667245b1eec94f58e68acd22dd720ce) --- source4/smb_server/smb_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smb_server') 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; } -- cgit