From f88099bfd7acb3d17c4af8744e1dd9eb63eddf65 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 16 Dec 2010 14:50:01 -0500 Subject: Fix uninitialized value error in set_local_and_remote_host_info https://fedorahosted.org/sssd/ticket/725 --- src/providers/ipa/ipa_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ipa') diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c index 45f96c9b2..c66bb9c8b 100644 --- a/src/providers/ipa/ipa_access.c +++ b/src/providers/ipa/ipa_access.c @@ -176,7 +176,7 @@ static errno_t set_local_and_remote_host_info(TALLOC_CTX *mem_ctx, int ret; struct hbac_host_info *hhi; struct ldb_message_element *el; - TALLOC_CTX *tmp_ctx; + TALLOC_CTX *tmp_ctx = NULL; if (local_hostname == NULL || *local_hostname == '\0') { DEBUG(1, ("Missing local hostname.\n")); -- cgit