free memory to reduce the memory leaks

This commit is contained in:
laurent
2023-03-13 11:59:31 +01:00
parent 36783a3a79
commit a853a0873e
14 changed files with 54 additions and 39 deletions
+6 -3
View File
@@ -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,
+1 -1
View File
@@ -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;