From ed5a65d7a0f6a3e9697184b4e32081a77b65f78b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 28 Mar 2010 14:02:47 +0200 Subject: s3: Fix the memory hierarchy in bitmap_talloc --- source3/lib/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit