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
|
|
@ -9,10 +9,9 @@ OpenAPI_amf_status_change_subscription_data_t *OpenAPI_amf_status_change_subscri
|
|||
OpenAPI_list_t *guami_list
|
||||
)
|
||||
{
|
||||
OpenAPI_amf_status_change_subscription_data_t *amf_status_change_subscription_data_local_var = OpenAPI_malloc(sizeof(OpenAPI_amf_status_change_subscription_data_t));
|
||||
if (!amf_status_change_subscription_data_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_amf_status_change_subscription_data_t *amf_status_change_subscription_data_local_var = ogs_malloc(sizeof(OpenAPI_amf_status_change_subscription_data_t));
|
||||
ogs_assert(amf_status_change_subscription_data_local_var);
|
||||
|
||||
amf_status_change_subscription_data_local_var->amf_status_uri = amf_status_uri;
|
||||
amf_status_change_subscription_data_local_var->guami_list = guami_list;
|
||||
|
||||
|
|
@ -110,7 +109,7 @@ OpenAPI_amf_status_change_subscription_data_t *OpenAPI_amf_status_change_subscri
|
|||
}
|
||||
|
||||
amf_status_change_subscription_data_local_var = OpenAPI_amf_status_change_subscription_data_create (
|
||||
ogs_strdup_or_assert(amf_status_uri->valuestring),
|
||||
ogs_strdup(amf_status_uri->valuestring),
|
||||
guami_list ? guami_listList : NULL
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue