free memory to reduce the memory leaks
This commit is contained in:
@@ -350,9 +350,12 @@ typedef enum ngap_Cause_e {
|
||||
NGAP_CAUSE_NAS,
|
||||
NGAP_CAUSE_PROTOCOL,
|
||||
NGAP_CAUSE_MISC,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} ngap_Cause_t;
|
||||
NGAP_Cause_PR_choice_ExtensionS,
|
||||
//Evilish manual duplicate of asn.1 grammar
|
||||
//because it is human work, whereas it can be generated by machine
|
||||
//and because humans manual copy creates bugs
|
||||
//and we create multiple names for the same thing, that is a source of confusion
|
||||
} ngap_Cause_t;
|
||||
|
||||
typedef enum ngap_Cause_radio_network_e {
|
||||
NGAP_CAUSE_RADIO_NETWORK_UNSPECIFIED,
|
||||
|
||||
@@ -119,7 +119,7 @@ typedef struct sctp_data_ind_s {
|
||||
/* Buffer to send over SCTP */
|
||||
uint32_t buffer_length;
|
||||
uint8_t *buffer;
|
||||
|
||||
bool freeAfterSend;
|
||||
/* Streams on which data will be sent/received */
|
||||
uint16_t stream;
|
||||
} sctp_data_ind_t;
|
||||
|
||||
Reference in New Issue
Block a user