mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r3072: Fix for bug #1947 - incorrect use of getpwnam() etc. interface.
Jeremy. (This used to be commit aaab1120849efca11c68bdce9285bad25e05eecf)
This commit is contained in:
parent
4e18fa46d5
commit
d330d8610d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user