summaryrefslogtreecommitdiff
path: root/server/confdb/confdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/confdb/confdb.c')
-rw-r--r--server/confdb/confdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 0bafc493..0c30d472 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -64,7 +64,7 @@ int parse_section(TALLOC_CTX *mem_ctx, const char *section,
char **sec_dn, const char **rdn_name)
{
TALLOC_CTX *tmp_ctx;
- char *dn;
+ char *dn = NULL;
char *p;
const char *s;
int l, ret;
@@ -776,7 +776,7 @@ int confdb_get_domains(struct confdb_ctx *cdb,
struct sss_domain_info **domains)
{
TALLOC_CTX *tmp_ctx;
- struct sss_domain_info *domain, *prevdom;
+ struct sss_domain_info *domain, *prevdom = NULL;
struct sss_domain_info *first = NULL;
char **domlist;
int ret, i;