projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9765378
)
always use tid_req_new for TID_REQ
author
Sam Hartman
<hartmans@debian.org>
Mon, 21 Jul 2014 21:44:36 +0000
(17:44 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 21 Jul 2014 21:44:36 +0000
(17:44 -0400)
tid/tidc.c
patch
|
blob
|
history
diff --git
a/tid/tidc.c
b/tid/tidc.c
index
61eaa91
..
1cb04cf
100644
(file)
--- a/
tid/tidc.c
+++ b/
tid/tidc.c
@@
-96,11
+96,9
@@
int tidc_send_request (TIDC_INSTANCE *tidc,
TID_REQ *tid_req = NULL;
/* Create and populate a TID req structure */
- if (!(tid_req =
malloc(sizeof(TID_REQ)
)))
+ if (!(tid_req =
tid_req_new(
)))
return -1;
- memset(tid_req, 0, sizeof(TID_REQ));
-
tid_req->conn = conn;
tid_req->gssctx = gssctx;