git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483c25e
)
Fix the talloc heirarchy when adding the unix delete token.
author
Jeremy Allison
<jra@samba.org>
Fri, 6 Apr 2012 21:53:48 +0000
(14:53 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 7 May 2012 13:09:05 +0000
(15:09 +0200)
source3/locking/locking.c
patch
|
blob
|
history
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;