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
|
|
@ -10,10 +10,9 @@ OpenAPI_ec_restriction_data_wb_t *OpenAPI_ec_restriction_data_wb_create(
|
|||
int ec_mode_b_restricted
|
||||
)
|
||||
{
|
||||
OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_var = OpenAPI_malloc(sizeof(OpenAPI_ec_restriction_data_wb_t));
|
||||
if (!ec_restriction_data_wb_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_var = ogs_malloc(sizeof(OpenAPI_ec_restriction_data_wb_t));
|
||||
ogs_assert(ec_restriction_data_wb_local_var);
|
||||
|
||||
ec_restriction_data_wb_local_var->is_ec_mode_a_restricted = is_ec_mode_a_restricted;
|
||||
ec_restriction_data_wb_local_var->ec_mode_a_restricted = ec_mode_a_restricted;
|
||||
ec_restriction_data_wb_local_var->ec_mode_b_restricted = ec_mode_b_restricted;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue