mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s3: Use talloc_tos() in parse_share_modes()
This commit is contained in:
committed by
Volker Lendecke
parent
22ccbf2bd4
commit
e5231a5976
@ -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 : ""));
|
||||
|
Reference in New Issue
Block a user