summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-28 14:14:48 +0200
committerVolker Lendecke <vl@samba.org>2010-03-28 15:25:17 +0200
commit30c708b902b6945e2cbcb7e1de40d475ce00eaad (patch)
tree8d44bdbedc2404b14dfc0d43b85d297d2313ca28
parent0205633ed94a19d8723c3f2f252daf1b96729375 (diff)
downloadsamba-30c708b902b6945e2cbcb7e1de40d475ce00eaad.tar.gz
samba-30c708b902b6945e2cbcb7e1de40d475ce00eaad.tar.bz2
samba-30c708b902b6945e2cbcb7e1de40d475ce00eaad.zip
s3: Use bitmap_talloc in files.c
-rw-r--r--source3/smbd/files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index abd654c015..a2a7dabea5 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -195,7 +195,8 @@ open files, %d are available.\n", request_max_open_files, real_max_open_files));
SMB_ASSERT(real_max_open_files > 100);
- file_bmap = bitmap_allocate(real_max_open_files);
+ file_bmap = bitmap_talloc(talloc_autofree_context(),
+ real_max_open_files);
if (!file_bmap) {
exit_server("out of memory in file_init");