From afb8a7c87083cbfe0fb1fd32e37ab9736136908b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 11 Jan 2012 19:51:53 +0100 Subject: s3: Fix the talloc hierarchy in fetch_share_mode_unlocked Thanks, metze for noticing! Autobuild-User: Volker Lendecke Autobuild-Date: Fri Jan 13 13:16:44 CET 2012 on sn-devel-104 --- source3/locking/share_mode_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit