svn commit: samba r3071 - in trunk/source/torture: .

jra at samba.org jra at samba.org
Tue Oct 19 23:41:21 GMT 2004


Author: jra
Date: 2004-10-19 23:41:20 +0000 (Tue, 19 Oct 2004)
New Revision: 3071

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/torture&rev=3071&nolog=1

Log:
Fix for bug #1947 - incorrect use of getpwnam() etc. interface.
Jeremy.

Modified:
   trunk/source/torture/cmd_vfs.c


Changeset:
Modified: trunk/source/torture/cmd_vfs.c
===================================================================
--- trunk/source/torture/cmd_vfs.c	2004-10-19 22:14:48 UTC (rev 3070)
+++ trunk/source/torture/cmd_vfs.c	2004-10-19 23:41:20 UTC (rev 3071)
@@ -538,8 +538,6 @@
 	printf("  Modify: %s", ctime(&(st.st_mtime)));
 	printf("  Change: %s", ctime(&(st.st_ctime)));
 
-	SAFE_FREE(pwd);
-	SAFE_FREE(grp);
 	return NT_STATUS_OK;
 }
 
@@ -606,8 +604,6 @@
 	printf("  Modify: %s", ctime(&(st.st_mtime)));
 	printf("  Change: %s", ctime(&(st.st_ctime)));
 
-	SAFE_FREE(pwd);
-	SAFE_FREE(grp);
 	return NT_STATUS_OK;
 }
 
@@ -662,8 +658,6 @@
 	printf("  Modify: %s", ctime(&(st.st_mtime)));
 	printf("  Change: %s", ctime(&(st.st_ctime)));
 	
-	SAFE_FREE(pwd);
-	SAFE_FREE(grp);
 	return NT_STATUS_OK;
 }
 



More information about the samba-cvs mailing list