git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Fix the memory hierarchy in bitmap_talloc
[kai/samba-autobuild/.git]
/
source3
/
lib
/
bitmap.c
diff --git
a/source3/lib/bitmap.c
b/source3/lib/bitmap.c
index f753ffd5348a66eada1ac4d061b7d7110b1be6ab..09389b8e486d36152d3a11620d060a324ab3814c 100644
(file)
--- 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;
}