diff options
author | Stefan Metzmacher <metze@sernet.de> | 2008-06-18 16:22:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-19 07:05:54 +0100 |
commit | 2dcac3c5e6ab19d0d274c09eb47c4fddf82b7a2c (patch) | |
tree | 57c79459ca32f7bdf53f66f73ef53f47b1505a5a /source4/nbt_server/wins/wins_ldb.c | |
parent | 6bcd2cbd27cc62e5cfc5a4707b7a991ab691f3c8 (diff) | |
download | samba-2dcac3c5e6ab19d0d274c09eb47c4fddf82b7a2c.tar.gz samba-2dcac3c5e6ab19d0d274c09eb47c4fddf82b7a2c.tar.bz2 samba-2dcac3c5e6ab19d0d274c09eb47c4fddf82b7a2c.zip |
nbt_server/wins: use talloc_zero() to create struct winsdb_handle
metze
(from samba4wins tree 0f2995f77ab092d71e539c2473c94956f9c253fb)
Diffstat (limited to 'source4/nbt_server/wins/wins_ldb.c')
-rw-r--r-- | source4/nbt_server/wins/wins_ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c index 02ea306243..557c0f1dc6 100644 --- 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; |