diff options
Diffstat (limited to 'source3/lib/bitmap.c')
-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; } |