summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-28 14:16:55 +0200
committerVolker Lendecke <vl@samba.org>2010-03-28 15:25:17 +0200
commitc67e498ae863bb5f25dcb36162c473ede46400be (patch)
treee10b8610d5807d68b185055a97244fe30db06fd5
parent30c708b902b6945e2cbcb7e1de40d475ce00eaad (diff)
downloadsamba-c67e498ae863bb5f25dcb36162c473ede46400be.tar.gz
samba-c67e498ae863bb5f25dcb36162c473ede46400be.tar.bz2
samba-c67e498ae863bb5f25dcb36162c473ede46400be.zip
s3: Use bitmap_talloc in init_dptrs
-rw-r--r--source3/smbd/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 69c5d7534a..aa7032de16 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -121,7 +121,8 @@ bool init_dptrs(struct smbd_server_connection *sconn)
return true;
}
- sconn->smb1.searches.dptr_bmap = bitmap_allocate(MAX_DIRECTORY_HANDLES);
+ sconn->smb1.searches.dptr_bmap = bitmap_talloc(
+ sconn, MAX_DIRECTORY_HANDLES);
if (sconn->smb1.searches.dptr_bmap == NULL) {
return false;