summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:41:01 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 12:18:34 -0400
commit5f56c77cfbb51a2e1d6dc19a9f9e85a79f491dbe (patch)
tree267eec7ee427e82421754b3799206db0957adc0e /src/providers
parentb2d95eac7293f497dcc1593de5614d8194d9588b (diff)
downloadsssd-5f56c77cfbb51a2e1d6dc19a9f9e85a79f491dbe.tar.gz
sssd-5f56c77cfbb51a2e1d6dc19a9f9e85a79f491dbe.tar.xz
sssd-5f56c77cfbb51a2e1d6dc19a9f9e85a79f491dbe.zip
Fix memory leak in ipa_hbac_evaluate_rules
https://fedorahosted.org/sssd/ticket/933
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index d88673f1e..3bd377320 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -596,6 +596,7 @@ void ipa_hbac_evaluate_rules(struct hbac_ctx *hbac_ctx)
}
DEBUG(3, ("Access denied by HBAC rules\n"));
+ hbac_free_info(info);
ipa_access_reply(hbac_ctx, PAM_PERM_DENIED);
}