mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08: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
|
|
@ -9,10 +9,9 @@ OpenAPI_lte_v2x_auth_t *OpenAPI_lte_v2x_auth_create(
|
|||
OpenAPI_ue_auth_e pedestrian_ue_auth
|
||||
)
|
||||
{
|
||||
OpenAPI_lte_v2x_auth_t *lte_v2x_auth_local_var = OpenAPI_malloc(sizeof(OpenAPI_lte_v2x_auth_t));
|
||||
if (!lte_v2x_auth_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_lte_v2x_auth_t *lte_v2x_auth_local_var = ogs_malloc(sizeof(OpenAPI_lte_v2x_auth_t));
|
||||
ogs_assert(lte_v2x_auth_local_var);
|
||||
|
||||
lte_v2x_auth_local_var->vehicle_ue_auth = vehicle_ue_auth;
|
||||
lte_v2x_auth_local_var->pedestrian_ue_auth = pedestrian_ue_auth;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue