svn commit: samba r2403 - in branches/SAMBA_4_0/source/ntvfs/simple: .

tridge at samba.org tridge at samba.org
Sat Sep 18 08:14:11 GMT 2004


Author: tridge
Date: 2004-09-18 08:14:10 +0000 (Sat, 18 Sep 2004)
New Revision: 2403

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/simple&rev=2403&nolog=1

Log:
got rid of a unnecessary mem_ctx in the simple backend



Modified:
   branches/SAMBA_4_0/source/ntvfs/simple/svfs.h
   branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/simple/svfs.h
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/simple/svfs.h	2004-09-18 08:13:28 UTC (rev 2402)
+++ branches/SAMBA_4_0/source/ntvfs/simple/svfs.h	2004-09-18 08:14:10 UTC (rev 2403)
@@ -29,7 +29,6 @@
 
 struct search_state {
 	struct search_state *next, *prev;
-	TALLOC_CTX *mem_ctx;
 	uint16_t handle;
 	uint_t current_index;
 	struct svfs_dir *dir;

Modified: branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c	2004-09-18 08:13:28 UTC (rev 2402)
+++ branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c	2004-09-18 08:14:10 UTC (rev 2403)
@@ -748,7 +748,6 @@
 	struct svfs_private *private = req->tcon->ntvfs_private;
 	struct search_state *search;
 	union smb_search_data file;
-	TALLOC_CTX *mem_ctx;
 	uint_t max_count;
 
 	if (io->generic.level != RAW_SEARCH_BOTH_DIRECTORY_INFO) {
@@ -764,7 +763,6 @@
 
 	dir = svfs_list(private, req, io->t2ffirst.in.pattern);
 	if (!dir) {
-		talloc_free(mem_ctx);
 		return NT_STATUS_FOOBAR;
 	}
 



More information about the samba-cvs mailing list