summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
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 : ""));