From f1f807e66bba73dcb2eb4b1f923167815908a77d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 6 Oct 2006 06:42:05 +0000 Subject: r19113: fixed another checker warning. (This used to be commit d12550af01f8d4c135fbf6f429852c31570ec92b) --- source4/lib/ldb/common/ldb_dn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/lib') diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index f9b044d5b8..e0ef29ccfd 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -597,6 +597,7 @@ struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, const struct ldb_dn *edn struct ldb_dn_component dc; const struct ldb_attrib_handler *h; + memset(&dc, 0, sizeof(dc)); dc.name = ldb_attr_casefold(cedn, edn->components[i].name); if (!dc.name) { talloc_free(cedn); -- cgit