From f88099bfd7acb3d17c4af8744e1dd9eb63eddf65 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Dec 17 2010 12:07:40 +0000 Subject: Fix uninitialized value error in set_local_and_remote_host_info https://fedorahosted.org/sssd/ticket/725 --- diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c index 45f96c9..c66bb9c 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"));