summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-28 14:02:47 +0200
committerVolker Lendecke <vl@samba.org>2010-03-28 15:25:15 +0200
commited5a65d7a0f6a3e9697184b4e32081a77b65f78b (patch)
tree9f40555a1db675e9f03070e93ca76f55cfd7b7e4 /source3
parentd77a1fb272d06e9fa4f4b1cbe9b151625334ca9f (diff)
downloadsamba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.tar.gz
samba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.tar.bz2
samba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.zip
s3: Fix the memory hierarchy in bitmap_talloc
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c
index f753ffd534..09389b8e48 100644
--- a/source3/lib/bitmap.c
+++ b/source3/lib/bitmap.c
@@ -72,7 +72,7 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n)
if (!bm) return NULL;
bm->n = n;
- bm->b = TALLOC_ARRAY(mem_ctx, uint32, (n+31)/32);
+ bm->b = TALLOC_ARRAY(bm, uint32, (n+31)/32);
if (!bm->b) {
return NULL;
}