From: Ralph Boehme Date: Tue, 23 Aug 2016 11:14:50 +0000 (+0200) Subject: vfs_acl_common: remove redundant NULL assignment X-Git-Tag: samba-4.3.12~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d02bf057ce2888961cd845dac18598bf836c4cf;p=thirdparty%2Fsamba.git vfs_acl_common: remove redundant NULL assignment 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 Reviewed-by: Jeremy Allison (cherry picked from commit e6f1254a00a6bf85b8d95bfbafef7d3e39ce1dde) --- diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index 8f890683d7d..64ee1ec730b 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -548,7 +548,6 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, (unsigned int)hash_type, name)); TALLOC_FREE(psd_blob); - psd_blob = NULL; goto out; } @@ -559,7 +558,6 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, (unsigned int)hash_type, name)); TALLOC_FREE(psd_blob); - psd_blob = NULL; goto out; }