diff options
Diffstat (limited to 'source3/lib/bitmap.c')
-rw-r--r-- | source3/lib/bitmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c index 70c21c456a..894395fbc6 100644 --- a/source3/lib/bitmap.c +++ b/source3/lib/bitmap.c @@ -74,6 +74,7 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n) bm->n = n; bm->b = TALLOC_ZERO_ARRAY(bm, uint32, (n+31)/32); if (!bm->b) { + TALLOC_FREE(bm); return NULL; } return bm; |