summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-28 14:05:55 +0200
committerVolker Lendecke <vl@samba.org>2010-03-28 15:25:16 +0200
commit48f90be7b9560258054486dce6514476b669ebfb (patch)
treee2646d3a89c528eeb79018ed2a5c22b6e5e048e2 /source3
parent2356c22825de020ebf4ae8cb664fea96dc981749 (diff)
downloadsamba-48f90be7b9560258054486dce6514476b669ebfb.tar.gz
samba-48f90be7b9560258054486dce6514476b669ebfb.tar.bz2
samba-48f90be7b9560258054486dce6514476b669ebfb.zip
s3: A NULL context might be perfectly valid for bitmap_talloc
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/bitmap.c2
1 files changed, 0 insertions, 2 deletions
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;