X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=tid%2Ftids.c;h=9b9d51f71d90dbb555cbbda477ae346aaea9b13b;hp=6a5b172e56507e7536998fd7172aacd9bd0a3481;hb=3c5fb17459ff56d5e23cea059503f46a42150a1e;hpb=b9adb7a0845273cab35025a347c7213553aa154a diff --git a/tid/tids.c b/tid/tids.c index 6a5b172..9b9d51f 100644 --- a/tid/tids.c +++ b/tid/tids.c @@ -80,6 +80,12 @@ static TID_RESP *tids_create_response(TALLOC_CTX *mem_ctx, TID_REQ *req) goto cleanup; } } + if (req->request_id) { + if (NULL == (resp->request_id = tr_dup_name(req->request_id))) { + tr_crit("tids_create_response: Error allocating fields in response."); + goto cleanup; + } + } success=1;