vfs_acl_common: remove redundant NULL assignment
authorRalph Boehme <slow@samba.org>
Tue, 23 Aug 2016 11:14:50 +0000 (13:14 +0200)
committerJeremy 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

index fb01bf4203444353fdfc15b748de8d2211c2e39d..0c40f37606682f2987e9ac5c622f789474ff9a5f 100644 (file)
@@ -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;
        }