summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:41:01 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:54:25 -0400
commita0be5e4a1a3087e66546ab0f1db0e590ed652e34 (patch)
tree77cdbfd06b2417accb9b5337e2256e2f5fdb7057 /src/providers/ipa
parent1dc99c9d468cfe2a7f7286a8969c586f8740bb9f (diff)
downloadsssd-a0be5e4a1a3087e66546ab0f1db0e590ed652e34.tar.gz
sssd-a0be5e4a1a3087e66546ab0f1db0e590ed652e34.tar.bz2
sssd-a0be5e4a1a3087e66546ab0f1db0e590ed652e34.zip
Fix memory leak in ipa_hbac_evaluate_rules
https://fedorahosted.org/sssd/ticket/933
Diffstat (limited to 'src/providers/ipa')
-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 d88673f1..3bd37732 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);
}