git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc3eb6
)
s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()
author
Volker Lendecke
<vl@samba.org>
Fri, 9 Apr 2010 12:09:20 +0000
(14:09 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 06:57:25 +0000
(08:57 +0200)
source3/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source3/smbd/map_username.c
b/source3/smbd/map_username.c
index a3c4594726ab4b51d67c53ac299b321c07eebd13..c305a9e3d6023e333cf51c10a7f97485b53d881e 100644
(file)
--- a/
source3/smbd/map_username.c
+++ b/
source3/smbd/map_username.c
@@
-117,7
+117,7
@@
bool map_username(fstring user)
}
numlines = 0;
- qlines = fd_lines_load(fd, &numlines,
0, NULL
);
+ qlines = fd_lines_load(fd, &numlines,
0, talloc_tos()
);
DEBUGADD(10,("Lines returned = [%d]\n", numlines));
close(fd);