summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-11 19:51:53 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-13 13:16:44 +0100
commitafb8a7c87083cbfe0fb1fd32e37ab9736136908b (patch)
tree27e15e65a473cf9d60eaff51a2d7f309758c358f /source3/locking
parent1bbcc65399fffc962066c087fcad7d5b3a4811dd (diff)
downloadsamba-afb8a7c87083cbfe0fb1fd32e37ab9736136908b.tar.gz
samba-afb8a7c87083cbfe0fb1fd32e37ab9736136908b.tar.bz2
samba-afb8a7c87083cbfe0fb1fd32e37ab9736136908b.zip
s3: Fix the talloc hierarchy in fetch_share_mode_unlocked
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
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/share_mode_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index 3b353d6793..002a399af7 100644
--- 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);