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=240db3f1e5143b5eae6d6d5b81bb83a128f8450c;hpb=722204aaf7faff43fc5f8b3e780fccf4078c0874 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