svn commit: samba r3072 - in branches/SAMBA_3_0/source/torture: .

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


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

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

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

Modified:
   branches/SAMBA_3_0/source/torture/cmd_vfs.c


Changeset:
Modified: branches/SAMBA_3_0/source/torture/cmd_vfs.c
===================================================================
--- branches/SAMBA_3_0/source/torture/cmd_vfs.c	2004-10-19 23:41:20 UTC (rev 3071)
+++ branches/SAMBA_3_0/source/torture/cmd_vfs.c	2004-10-19 23:41:26 UTC (rev 3072)
@@ -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