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
|
|
@ -11,10 +11,9 @@ OpenAPI_mbsfn_area_t *OpenAPI_mbsfn_area_create(
|
|||
int carrier_frequency
|
||||
)
|
||||
{
|
||||
OpenAPI_mbsfn_area_t *mbsfn_area_local_var = OpenAPI_malloc(sizeof(OpenAPI_mbsfn_area_t));
|
||||
if (!mbsfn_area_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_mbsfn_area_t *mbsfn_area_local_var = ogs_malloc(sizeof(OpenAPI_mbsfn_area_t));
|
||||
ogs_assert(mbsfn_area_local_var);
|
||||
|
||||
mbsfn_area_local_var->is_mbsfn_area_id = is_mbsfn_area_id;
|
||||
mbsfn_area_local_var->mbsfn_area_id = mbsfn_area_id;
|
||||
mbsfn_area_local_var->is_carrier_frequency = is_carrier_frequency;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue