git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bbcc65
)
s3: Fix the talloc hierarchy in fetch_share_mode_unlocked
author
Volker Lendecke
<vl@samba.org>
Wed, 11 Jan 2012 18:51:53 +0000
(19:51 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Fri, 13 Jan 2012 12:16:44 +0000
(13:16 +0100)
Thanks, metze for noticing!
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 13 13:16:44 CET 2012 on sn-devel-104
source3/locking/share_mode_lock.c
patch
|
blob
|
history
diff --git
a/source3/locking/share_mode_lock.c
b/source3/locking/share_mode_lock.c
index 3b353d6793f365c234f399f0599e551e88320af4..002a399af7806b7ad7b24187fc68c67fe1b52fc8 100644
(file)
--- a/
source3/locking/share_mode_lock.c
+++ b/
source3/locking/share_mode_lock.c
@@
-454,7
+454,7
@@
struct share_mode_lock *fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
TALLOC_FREE(data.dptr);
return NULL;
}
- lck->data = parse_share_modes(
mem_ctx
, data);
+ lck->data = parse_share_modes(
lck
, data);
TALLOC_FREE(data.dptr);
if (lck->data == NULL) {
TALLOC_FREE(lck);