From 066a63f4fe5cacf2b3b82396ddfac0bce5177561 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 12 Mar 2012 10:32:13 -0400 Subject: IPA: Initialize hbac_ctx to NULL --- src/providers/ipa/ipa_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c index 475ddade..a1d7785b 100644 --- a/src/providers/ipa/ipa_access.c +++ b/src/providers/ipa/ipa_access.c @@ -106,7 +106,7 @@ static void ipa_hbac_check(struct tevent_req *req) { struct be_req *be_req; struct pam_data *pd; - struct hbac_ctx *hbac_ctx; + struct hbac_ctx *hbac_ctx = NULL; const char *deny_method; int pam_status = PAM_SYSTEM_ERR; struct ipa_access_ctx *ipa_access_ctx; -- cgit