mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
Use talloc for all memory pool (#1263)
This commit is contained in:
parent
49d9ed03c7
commit
b988e7edce
768 changed files with 4632 additions and 4901 deletions
|
|
@ -13,10 +13,9 @@ OpenAPI_qos_monitoring_information_t *OpenAPI_qos_monitoring_information_create(
|
|||
int rep_thresh_rp
|
||||
)
|
||||
{
|
||||
OpenAPI_qos_monitoring_information_t *qos_monitoring_information_local_var = OpenAPI_malloc(sizeof(OpenAPI_qos_monitoring_information_t));
|
||||
if (!qos_monitoring_information_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_qos_monitoring_information_t *qos_monitoring_information_local_var = ogs_malloc(sizeof(OpenAPI_qos_monitoring_information_t));
|
||||
ogs_assert(qos_monitoring_information_local_var);
|
||||
|
||||
qos_monitoring_information_local_var->is_rep_thresh_dl = is_rep_thresh_dl;
|
||||
qos_monitoring_information_local_var->rep_thresh_dl = rep_thresh_dl;
|
||||
qos_monitoring_information_local_var->is_rep_thresh_ul = is_rep_thresh_ul;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue