summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-01-25 05:04:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:14 -0500
commitc4307da13b98190b4185f7894d27686eca800af8 (patch)
tree835ca77a3a16b4973126838162e6555095106f9c
parent1097637c76c30754ff83c151f0455fc220e50817 (diff)
downloadsamba-c4307da13b98190b4185f7894d27686eca800af8.tar.gz
samba-c4307da13b98190b4185f7894d27686eca800af8.tar.bz2
samba-c4307da13b98190b4185f7894d27686eca800af8.zip
r13125: Very well spotted crash bug fix for #3343 from
SATOH Fumiyasu <fumiyas@miraclelinux.com> Jerry please pick this up for 3.0.21b. Jeremy. (This used to be commit 3f5860b8fb37e854ccf5d9a80848ef759154f88c)
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index e485dc1eb1..34497f0280 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -1447,7 +1447,6 @@ static BOOL create_canon_ace_lists(files_struct *fsp, SMB_STRUCT_STAT *pst,
Deny entry after Allow entry. Failing to set on file %s.\n", fsp->fsp_name ));
free_canon_ace_list(file_ace);
free_canon_ace_list(dir_ace);
- SAFE_FREE(current_ace);
return False;
}
@@ -1506,7 +1505,6 @@ Deny entry after Allow entry. Failing to set on file %s.\n", fsp->fsp_name ));
Deny entry after Allow entry. Failing to set on file %s.\n", fsp->fsp_name ));
free_canon_ace_list(file_ace);
free_canon_ace_list(dir_ace);
- SAFE_FREE(current_ace);
return False;
}