X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=common%2Ftr_gss.c;fp=common%2Ftr_gss.c;h=251c29e6a702ba599866ab44b85b7e3ee460d740;hp=d5764497c2489d00e3fb3af91fb2beea92e453c9;hb=f69e5eb2c34220af42b456ce9322401d6041d3ce;hpb=b6ddd85ecb0552acf3105731159f42ed1578bf9b diff --git a/common/tr_gss.c b/common/tr_gss.c index d576449..251c29e 100644 --- a/common/tr_gss.c +++ b/common/tr_gss.c @@ -274,7 +274,9 @@ TR_GSS_RC tr_gss_handle_connection(int conn, } /* Hand off the request for processing and get the response */ - resp_msg = req_cb(tmp_ctx, req_msg, req_cookie); + rc = req_cb(tmp_ctx, req_msg, &resp_msg, req_cookie); + if (rc != TR_GSS_SUCCESS) + goto cleanup; if (resp_msg == NULL) { // no response, clean up