Commit 1f76a353 authored by Olaf Bergmann's avatar Olaf Bergmann

dcaf.c: free temporary ticket in handle_ticket_transfer

parent 2d20e3c2
......@@ -236,7 +236,7 @@ handle_ticket_transfer(dcaf_context_t *dcaf_context,
cn_cbor *cbor;
cn_cbor *ticket_face, *client_information, *cnf;
const cn_cbor *cose_key = NULL;
dcaf_ticket_t *cinfo;
dcaf_ticket_t *cinfo = NULL;
dcaf_key_type key_type = DCAF_NONE;
(void)received;
......@@ -391,6 +391,7 @@ handle_ticket_transfer(dcaf_context_t *dcaf_context,
}
finish:
dcaf_cbor_free(cbor);
dcaf_free_ticket(cinfo);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment