diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-18 19:32:23 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-19 07:06:19 +0100 |
commit | c475ce7bfa230a0a0167a294317c1120211cbb4c (patch) | |
tree | 96fe6117b934a6d2effd869470dad0cdf14bc36d /src | |
parent | 03b224556506601c8a29771801bc1b5e302958f9 (diff) | |
download | sssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.tar.gz sssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.tar.bz2 sssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.zip |
SUDO: Fix wrong variable check
https://fedorahosted.org/sssd/ticket/1650
Diffstat (limited to 'src')
-rw-r--r-- | src/responder/sudo/sudosrv_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_query.c b/src/responder/sudo/sudosrv_query.c index 998b6023..1574104c 100644 --- a/src/responder/sudo/sudosrv_query.c +++ b/src/responder/sudo/sudosrv_query.c @@ -326,7 +326,7 @@ struct tevent_req *sudosrv_parse_query_send(TALLOC_CTX *mem_ctx, "sending subdomain request\n", domainname)); subreq = sss_dp_get_domains_send(state, rctx, true, domainname); - if (req == NULL) { + if (subreq == NULL) { ret = ENOMEM; } else { tevent_req_set_callback(subreq, sudosrv_parse_query_done, req); |