From 48f90be7b9560258054486dce6514476b669ebfb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 28 Mar 2010 14:05:55 +0200 Subject: s3: A NULL context might be perfectly valid for bitmap_talloc --- source3/lib/bitmap.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3') diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c index 894395fbc6..37c5b4510e 100644 --- a/source3/lib/bitmap.c +++ b/source3/lib/bitmap.c @@ -65,8 +65,6 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n) { struct bitmap *bm; - if (!mem_ctx) return NULL; - bm = TALLOC_P(mem_ctx, struct bitmap); if (!bm) return NULL; -- cgit