diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-28 14:02:47 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-28 15:25:15 +0200 |
commit | ed5a65d7a0f6a3e9697184b4e32081a77b65f78b (patch) | |
tree | 9f40555a1db675e9f03070e93ca76f55cfd7b7e4 | |
parent | d77a1fb272d06e9fa4f4b1cbe9b151625334ca9f (diff) | |
download | samba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.tar.gz samba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.tar.bz2 samba-ed5a65d7a0f6a3e9697184b4e32081a77b65f78b.zip |
s3: Fix the memory hierarchy in bitmap_talloc
-rw-r--r-- | source3/lib/bitmap.c | 2 |
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; } |