diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-06-26 16:21:16 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-06-27 10:23:37 +0200 |
commit | 979f969abe7a75a2f41f6fddabec94674ca3c722 (patch) | |
tree | 6e700d00916f6dc07bf872578e369c26a6bb938a /src/responder | |
parent | 8ca1875209325ddeb28fccb421457b76b4b0c7db (diff) | |
download | sssd-979f969abe7a75a2f41f6fddabec94674ca3c722.tar.gz sssd-979f969abe7a75a2f41f6fddabec94674ca3c722.tar.xz sssd-979f969abe7a75a2f41f6fddabec94674ca3c722.zip |
sudo: return after tevent_req_error
Don't call tevent_req_done after tevent_req_error (for the same request).
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/sudo/sudosrv_query.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/responder/sudo/sudosrv_query.c b/src/responder/sudo/sudosrv_query.c index 632afa712..4d19514cd 100644 --- a/src/responder/sudo/sudosrv_query.c +++ b/src/responder/sudo/sudosrv_query.c @@ -364,6 +364,7 @@ static void sudosrv_parse_query_done(struct tevent_req *subreq) talloc_free(subreq); if (ret != EOK) { tevent_req_error(req, ret); + return; } tevent_req_done(req); |