git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9994c8f
)
s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context
author
Michael Adam
<obnox@samba.org>
Wed, 16 Jun 2010 20:36:33 +0000
(22:36 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jun 2010 09:23:59 +0000
(11:23 +0200)
source3/winbindd/idmap_tdb2.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_tdb2.c
b/source3/winbindd/idmap_tdb2.c
index c5992d45d0633d36ae8ede35fc6063949a8b844c..9e29f5822d778b2249a3250823f38933a301811f 100644
(file)
--- a/
source3/winbindd/idmap_tdb2.c
+++ b/
source3/winbindd/idmap_tdb2.c
@@
-267,7
+267,7
@@
static NTSTATUS idmap_tdb2_db_init(struct idmap_domain *dom,
struct idmap_tdb2_context *ctx;
NTSTATUS status;
- ctx = talloc(dom, struct idmap_tdb2_context);
+ ctx = talloc
_zero
(dom, struct idmap_tdb2_context);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;