summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-09-04 07:03:45 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-10-02 12:50:33 +0200
commita2d6d4db64a7c3b27dea22fe52245925d688bd2d (patch)
treebdfd702c9c16a2337cd3093e1846ea36a8339747 /src
parent12440d2acbeb7ea6e5c0e4182d00377c8d01185b (diff)
downloadsssd-a2d6d4db64a7c3b27dea22fe52245925d688bd2d.tar.gz
sssd-a2d6d4db64a7c3b27dea22fe52245925d688bd2d.tar.xz
sssd-a2d6d4db64a7c3b27dea22fe52245925d688bd2d.zip
IPA: fix minor memory leak
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_hbac_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hbac_rules.c b/src/providers/ipa/ipa_hbac_rules.c
index ffef6dc4c..6ce1f76bb 100644
--- a/src/providers/ipa/ipa_hbac_rules.c
+++ b/src/providers/ipa/ipa_hbac_rules.c
@@ -86,7 +86,7 @@ ipa_hbac_rule_info_send(TALLOC_CTX *mem_ctx,
req = tevent_req_create(mem_ctx, &state, struct ipa_hbac_rule_state);
if (req == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, "tevent_req_create failed.\n");
- return NULL;
+ goto error;
}
state->ev = ev;