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

@ -13,10 +13,9 @@ OpenAPI_exemption_ind_t *OpenAPI_exemption_ind_create(
int snssai_dnn_congestion
)
{
OpenAPI_exemption_ind_t *exemption_ind_local_var = OpenAPI_malloc(sizeof(OpenAPI_exemption_ind_t));
if (!exemption_ind_local_var) {
return NULL;
}
OpenAPI_exemption_ind_t *exemption_ind_local_var = ogs_malloc(sizeof(OpenAPI_exemption_ind_t));
ogs_assert(exemption_ind_local_var);
exemption_ind_local_var->is_dnn_congestion = is_dnn_congestion;
exemption_ind_local_var->dnn_congestion = dnn_congestion;
exemption_ind_local_var->is_snssai_only_congestion = is_snssai_only_congestion;