diff options
Diffstat (limited to 'source3/utils/sharesec.c')
-rw-r--r-- | source3/utils/sharesec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c index 9409690c8b..46f9ecdc7d 100644 --- a/source3/utils/sharesec.c +++ b/source3/utils/sharesec.c @@ -401,7 +401,7 @@ static void sort_acl(SEC_ACL *the_acl) static int change_share_sec(TALLOC_CTX *mem_ctx, const char *sharename, char *the_acl, enum acl_mode mode) { - SEC_DESC *sd; + SEC_DESC *sd = NULL; SEC_DESC *old = NULL; size_t sd_size = 0; uint32 i, j; |