git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f79084
)
vfs_acl_common: remove redundant NULL assignment
author
Ralph Boehme
<slow@samba.org>
Tue, 23 Aug 2016 11:14:50 +0000
(13:14 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 30 Aug 2016 19:12:25 +0000
(21:12 +0200)
The variables are already set to NULL by TALLOC_FREE.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12177
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_acl_common.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_acl_common.c
b/source3/modules/vfs_acl_common.c
index fb01bf4203444353fdfc15b748de8d2211c2e39d..0c40f37606682f2987e9ac5c622f789474ff9a5f 100644
(file)
--- a/
source3/modules/vfs_acl_common.c
+++ b/
source3/modules/vfs_acl_common.c
@@
-551,7
+551,6
@@
static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle,
(unsigned int)hash_type,
smb_fname->base_name));
TALLOC_FREE(psd_blob);
- psd_blob = NULL;
goto out;
}
@@
-562,7
+561,6
@@
static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle,
(unsigned int)hash_type,
smb_fname->base_name));
TALLOC_FREE(psd_blob);
- psd_blob = NULL;
goto out;
}