projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
77bad15
)
tid_req_free: delete GSS context
author
Sam Hartman
<hartmans@debian.org>
Mon, 23 Feb 2015 16:58:14 +0000
(11:58 -0500)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 23 Feb 2015 16:58:14 +0000
(11:58 -0500)
Free the gss context in a TID request.
tid/tid_req.c
patch
|
blob
|
history
diff --git
a/tid/tid_req.c
b/tid/tid_req.c
index
23599ad
..
7bf33dd
100644
(file)
--- a/
tid/tid_req.c
+++ b/
tid/tid_req.c
@@
-42,8
+42,11
@@
static int destroy_tid_req(TID_REQ *req)
{
+ OM_uint32 minor;
if (req->json_references)
json_decref(req->json_references);
+ if (req->gssctx)
+ gss_delete_sec_context( &minor, &req->gssctx, NULL);
return 0;
}