summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-10-26 13:54:55 +0200
committerVolker Lendecke <vlendec@samba.org>2011-10-27 20:28:31 +0200
commite5231a5976c67573f7883538cc5b76db724f8d57 (patch)
tree39af7e87ade500e6927f2bf696e6bf13b8d7a9cc /source3
parent22ccbf2bd4f7788d45173c6780eec6f08f3d2f3e (diff)
downloadsamba-e5231a5976c67573f7883538cc5b76db724f8d57.tar.gz
samba-e5231a5976c67573f7883538cc5b76db724f8d57.tar.bz2
samba-e5231a5976c67573f7883538cc5b76db724f8d57.zip
s3: Use talloc_tos() in parse_share_modes()
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 : ""));