summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-09 14:09:20 +0200
committerVolker Lendecke <vl@samba.org>2010-04-09 14:09:23 +0200
commitc666b8af96fecb2bd9230a5e10f99c5d5e0a5353 (patch)
treeba3f5eb2dfa601f845bd658829a42242f2345637 /source3/smbd
parentd3e9e83d7e3fd3ef3da1b64cb4181c0e6a46914d (diff)
downloadsamba-c666b8af96fecb2bd9230a5e10f99c5d5e0a5353.tar.gz
samba-c666b8af96fecb2bd9230a5e10f99c5d5e0a5353.tar.bz2
samba-c666b8af96fecb2bd9230a5e10f99c5d5e0a5353.zip
s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/map_username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index 38473e0736..47aa54d2ba 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -117,7 +117,7 @@ bool map_username(struct smbd_server_connection *sconn, 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);