mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +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_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_create(
|
|||
int tsc_prio_level
|
||||
)
|
||||
{
|
||||
OpenAPI_tsn_qos_container_rm_t *tsn_qos_container_rm_local_var = OpenAPI_malloc(sizeof(OpenAPI_tsn_qos_container_rm_t));
|
||||
if (!tsn_qos_container_rm_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_tsn_qos_container_rm_t *tsn_qos_container_rm_local_var = ogs_malloc(sizeof(OpenAPI_tsn_qos_container_rm_t));
|
||||
ogs_assert(tsn_qos_container_rm_local_var);
|
||||
|
||||
tsn_qos_container_rm_local_var->is_max_tsc_burst_size = is_max_tsc_burst_size;
|
||||
tsn_qos_container_rm_local_var->max_tsc_burst_size = max_tsc_burst_size;
|
||||
tsn_qos_container_rm_local_var->is_tsc_pack_delay = is_tsc_pack_delay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue