summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-10-19 23:41:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:00 -0500
commitd330d8610dde7dc5e56e76f71879ecc2e5180ce5 (patch)
tree2463b003a0a713cb4846f23c80ce33a82bb4d8c1 /source3
parent4e18fa46d54b65a2145da769cb5e26b63eee1b1d (diff)
downloadsamba-d330d8610dde7dc5e56e76f71879ecc2e5180ce5.tar.gz
samba-d330d8610dde7dc5e56e76f71879ecc2e5180ce5.tar.bz2
samba-d330d8610dde7dc5e56e76f71879ecc2e5180ce5.zip
r3072: Fix for bug #1947 - incorrect use of getpwnam() etc. interface.
Jeremy. (This used to be commit aaab1120849efca11c68bdce9285bad25e05eecf)
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/cmd_vfs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c
index bfce4b88b4..43661f1d6c 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -538,8 +538,6 @@ static NTSTATUS cmd_stat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c
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 @@ static NTSTATUS cmd_fstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
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 @@ static NTSTATUS cmd_lstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
printf(" Modify: %s", ctime(&(st.st_mtime)));
printf(" Change: %s", ctime(&(st.st_ctime)));
- SAFE_FREE(pwd);
- SAFE_FREE(grp);
return NT_STATUS_OK;
}