summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-12-16 14:50:01 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-12-17 07:07:40 -0500
commitf88099bfd7acb3d17c4af8744e1dd9eb63eddf65 (patch)
treea5664c16fe4079e294408bc640577ad85233c0b5 /src
parentc0d9451e86d246496e456a0925730c60c946e1d9 (diff)
downloadsssd-f88099bfd7acb3d17c4af8744e1dd9eb63eddf65.tar.gz
sssd-f88099bfd7acb3d17c4af8744e1dd9eb63eddf65.tar.xz
sssd-f88099bfd7acb3d17c4af8744e1dd9eb63eddf65.zip
Fix uninitialized value error in set_local_and_remote_host_info
https://fedorahosted.org/sssd/ticket/725
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_access.c2
1 files changed, 1 insertions, 1 deletions
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"));