summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:51:16 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 12:18:34 -0400
commit341ed34955270f7b360ab9453dee79d37b891857 (patch)
tree478bfc5b5835fc84501269c8b299aaacd1ae19c3 /src
parent5f56c77cfbb51a2e1d6dc19a9f9e85a79f491dbe (diff)
downloadsssd-341ed34955270f7b360ab9453dee79d37b891857.tar.gz
sssd-341ed34955270f7b360ab9453dee79d37b891857.tar.xz
sssd-341ed34955270f7b360ab9453dee79d37b891857.zip
Fix incorrect NULL check in ipa_hbac_common.c
https://fedorahosted.org/sssd/ticket/936
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_hbac_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hbac_common.c b/src/providers/ipa/ipa_hbac_common.c
index 0ed08b839..4633f2f9e 100644
--- a/src/providers/ipa/ipa_hbac_common.c
+++ b/src/providers/ipa/ipa_hbac_common.c
@@ -539,7 +539,7 @@ hbac_ctx_to_eval_request(TALLOC_CTX *mem_ctx,
if (tmp_ctx == NULL) return ENOMEM;
eval_req = talloc_zero(tmp_ctx, struct hbac_eval_req);
- if (tmp_ctx == NULL) {
+ if (eval_req == NULL) {
ret = ENOMEM;
goto done;
}