From e5231a5976c67573f7883538cc5b76db724f8d57 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 26 Oct 2011 13:54:55 +0200 Subject: s3: Use talloc_tos() in parse_share_modes() --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/locking') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 38d8c090a6..3177fc109f 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -723,7 +723,7 @@ static bool parse_share_modes(const TDB_DATA dbuf, struct share_mode_lock *lck) struct share_mode_entry *entry_p = &lck->share_modes[i]; char *str = NULL; if (DEBUGLEVEL >= 10) { - str = share_mode_str(NULL, i, entry_p); + str = share_mode_str(talloc_tos(), i, entry_p); } DEBUG(10,("parse_share_modes: %s\n", str ? str : "")); -- cgit