From: Sam Hartman Date: Wed, 11 Mar 2015 14:15:59 +0000 (-0400) Subject: Connection clean up X-Git-Tag: 1.5~16 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=7d59da0c160c7b4b288fbbfb5c2c1d17049372c5;hp=7d59da0c160c7b4b288fbbfb5c2c1d17049372c5;p=trust_router.git Connection clean up We need to clean up the connection file descriptor and the gss context. * tidc_fwd_request is the wrong place to free the TID_REQ because it does not allocate it * tid_req_dup needs to use talloc; duplicated requests are freed by the original request * tidc_send_message frees its request * The request destructor closes the connection. * Keep track of whether a request is duplicated; only free the connection and gss context in the original request. ---