diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-28 14:16:55 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-28 15:25:17 +0200 |
commit | c67e498ae863bb5f25dcb36162c473ede46400be (patch) | |
tree | e10b8610d5807d68b185055a97244fe30db06fd5 /source3/smbd/dir.c | |
parent | 30c708b902b6945e2cbcb7e1de40d475ce00eaad (diff) | |
download | samba-c67e498ae863bb5f25dcb36162c473ede46400be.tar.gz samba-c67e498ae863bb5f25dcb36162c473ede46400be.tar.bz2 samba-c67e498ae863bb5f25dcb36162c473ede46400be.zip |
s3: Use bitmap_talloc in init_dptrs
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 3 |
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; |