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:
f5368b3
)
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
author
Michael Adam
<obnox@samba.org>
Tue, 22 Jun 2010 07:01:32 +0000
(09:01 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jun 2010 10:22:16 +0000
(12:22 +0200)
source3/winbindd/idmap_tdb.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_tdb.c
b/source3/winbindd/idmap_tdb.c
index ec5be5d32ef76a5417b7715b1d69fc80e0ecf317..4f740f3552c6db6c7592d81ae6ce8957161c5a42 100644
(file)
--- a/
source3/winbindd/idmap_tdb.c
+++ b/
source3/winbindd/idmap_tdb.c
@@
-483,7
+483,7
@@
static NTSTATUS idmap_tdb_db_init(struct idmap_domain *dom, const char *params)
NTSTATUS ret;
struct idmap_tdb_context *ctx;
- ctx = talloc(dom, struct idmap_tdb_context);
+ ctx = talloc
_zero
(dom, struct idmap_tdb_context);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;