From 759da3b915e2006d4c87b5ace47f399accd9ce91 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Jan 2005 07:08:20 +0000 Subject: r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0) --- source4/torture/nbench/nbio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/nbench/nbio.c') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index b83234be91..1864c82fdc 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -275,7 +275,7 @@ void nb_createx(const char *fname, ret = smb_raw_open(c->tree, mem_ctx, &io); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); check_status("NTCreateX", status, ret); @@ -527,7 +527,7 @@ void nb_qpathinfo(const char *fname, int level, NTSTATUS status) ret = smb_raw_pathinfo(c->tree, mem_ctx, &io); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); check_status("Pathinfo", status, ret); } @@ -549,7 +549,7 @@ void nb_qfileinfo(int fnum, int level, NTSTATUS status) ret = smb_raw_fileinfo(c->tree, mem_ctx, &io); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); check_status("Fileinfo", status, ret); } @@ -593,7 +593,7 @@ void nb_qfsinfo(int level, NTSTATUS status) io.generic.level = level; ret = smb_raw_fsinfo(c->tree, mem_ctx, &io); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); check_status("Fsinfo", status, ret); } @@ -621,7 +621,7 @@ void nb_findfirst(const char *mask, int level, int maxcnt, int count, NTSTATUS s ret = smb_raw_search_first(c->tree, mem_ctx, &io, NULL, findfirst_callback); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); check_status("Search", status, ret); -- cgit