]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_acl_common: remove redundant NULL assignment
authorRalph Boehme <slow@samba.org>
Tue, 23 Aug 2016 11:14:50 +0000 (13:14 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Sep 2016 10:05:33 +0000 (12:05 +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>
(cherry picked from commit e6f1254a00a6bf85b8d95bfbafef7d3e39ce1dde)

source3/modules/vfs_acl_common.c

index 8f890683d7d7676960c5a5f06691786d290ccec9..64ee1ec730b66c19b947b51ee572f618210fcd67 100644 (file)
@@ -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;
        }