diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-07-29 10:51:16 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-07-29 10:54:25 -0400 |
commit | 1ea2e8bd370e0dc2f2c3fa09232cf67082ef748d (patch) | |
tree | 28d50a2ba76e636ee17ac5a3013acba1043f2a76 /src/providers/ipa | |
parent | a0be5e4a1a3087e66546ab0f1db0e590ed652e34 (diff) | |
download | sssd-1ea2e8bd370e0dc2f2c3fa09232cf67082ef748d.tar.gz sssd-1ea2e8bd370e0dc2f2c3fa09232cf67082ef748d.tar.bz2 sssd-1ea2e8bd370e0dc2f2c3fa09232cf67082ef748d.zip |
Fix incorrect NULL check in ipa_hbac_common.c
https://fedorahosted.org/sssd/ticket/936
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_hbac_common.c | 2 |
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 0ed08b83..4633f2f9 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; } |