git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2356c22
)
s3: A NULL context might be perfectly valid for bitmap_talloc
author
Volker Lendecke
<vl@samba.org>
Sun, 28 Mar 2010 12:05:55 +0000
(14:05 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 28 Mar 2010 13:25:16 +0000
(15:25 +0200)
source3/lib/bitmap.c
patch
|
blob
|
history
diff --git
a/source3/lib/bitmap.c
b/source3/lib/bitmap.c
index 894395fbc62c2a081a3e9444a1c30865d20c5889..37c5b4510e25ee10f960f44762422838ab11107f 100644
(file)
--- 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;