git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ccbf2
)
s3: Use talloc_tos() in parse_share_modes()
author
Volker Lendecke
<vl@samba.org>
Wed, 26 Oct 2011 11:54:55 +0000
(13:54 +0200)
committer
Volker Lendecke
<vlendec@samba.org>
Thu, 27 Oct 2011 18:28:31 +0000
(20:28 +0200)
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index 38d8c090a68b7af01b630a8939f0bdd5c3d35668..3177fc109f6d69e30c37e7f4f9746a3d02268bf7 100644
(file)
--- 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 : ""));