Use talloc for all memory pool (#1263)

This commit is contained in:
Sukchan Lee 2022-01-04 08:29:18 +09:00
parent 49d9ed03c7
commit b988e7edce
768 changed files with 4632 additions and 4901 deletions

View file

@ -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;