diff --git a/src/requests.c b/src/requests.c index 635b538..5d2b9d7 100644 --- a/src/requests.c +++ b/src/requests.c @@ -41,6 +41,8 @@ static void fwd_to_apps(uint8_t* msg, uint16_t msg_len, int its_msg_type, uint32 asn_enc_rval_t enc = oer_encode_to_buffer(&asn_DEF_FacilitiesIndication, NULL, fi, buffer + 1, ITSS_SDU_MAX_LEN - 1); itss_queue_send(facilities.tx_queue, buffer, enc.encoded + 1, ITSS_APPLICATIONS, iid, "FI.message"); + + ASN_STRUCT_FREE(asn_DEF_FacilitiesIndication, fi); } int facilities_request_result_accepted(void *responder) {