git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nbt_server/wins: use talloc_zero() to create struct winsdb_handle
[samba.git]
/
source4
/
nbt_server
/
wins
/
wins_ldb.c
diff --git
a/source4/nbt_server/wins/wins_ldb.c
b/source4/nbt_server/wins/wins_ldb.c
index 02ea30624309bd3f848d5922d3e1675cd793a37b..557c0f1dc6e7cc4d939e861d3ccd9821ffe8f6c5 100644
(file)
--- a/
source4/nbt_server/wins/wins_ldb.c
+++ b/
source4/nbt_server/wins/wins_ldb.c
@@
-98,7
+98,7
@@
static int wins_ldb_init(struct ldb_module *ctx)
}
}
- h = talloc(ctx, struct winsdb_handle);
+ h = talloc
_zero
(ctx, struct winsdb_handle);
if (!h) goto failed;
h->ldb = ctx->ldb;
h->caller = WINSDB_HANDLE_CALLER_ADMIN;