1
0
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:
Volker Lendecke
2011-10-26 13:54:55 +02:00
committed by Volker Lendecke
parent 22ccbf2bd4
commit e5231a5976

View File

@ -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 : ""));