1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

Fix valgrind errors

(This used to be commit d7e6ec2258350c564053371361c8f1d7d0f775b1)
This commit is contained in:
Volker Lendecke 2008-01-20 15:09:53 +01:00
parent 896ec68181
commit bf7f13c9a7

View File

@ -121,7 +121,7 @@ static int streams_xattr_stat(vfs_handle_struct *handle, const char *fname,
SMB_STRUCT_STAT *sbuf)
{
NTSTATUS status;
char *base, *sname;
char *base = NULL, *sname = NULL;
int result = -1;
char *xattr_name;
@ -132,7 +132,7 @@ static int streams_xattr_stat(vfs_handle_struct *handle, const char *fname,
status = split_ntfs_stream_name(talloc_tos(), fname, &base, &sname);
if (!NT_STATUS_IS_OK(status)) {
errno = EINVAL;
goto fail;
return -1;
}
if (SMB_VFS_STAT(handle->conn, base, sbuf) == -1) {