git.samba.org
/
ddiss
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the talloc heirarchy when adding the unix delete token.
[ddiss/samba.git]
/
source3
/
locking
/
locking.c
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index ddd469de289f27df9c53310a3c00af17c9b9b6ce..02622d62019265dce3fe9d6f4f8f4f40609f7da6 100644
(file)
--- a/
source3/locking/locking.c
+++ b/
source3/locking/locking.c
@@
-1518,7
+1518,7
@@
static bool add_delete_on_close_token(struct share_mode_lock *lck,
}
dtl->name_hash = name_hash;
- dtl->delete_token = copy_unix_token(
lck
, tok);
+ dtl->delete_token = copy_unix_token(
dtl
, tok);
if (dtl->delete_token == NULL) {
TALLOC_FREE(dtl);
return false;