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
|
|
@ -10,10 +10,9 @@ OpenAPI_unrelated_class_t *OpenAPI_unrelated_class_create(
|
|||
OpenAPI_list_t *service_type_unrelated_classes
|
||||
)
|
||||
{
|
||||
OpenAPI_unrelated_class_t *unrelated_class_local_var = OpenAPI_malloc(sizeof(OpenAPI_unrelated_class_t));
|
||||
if (!unrelated_class_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_unrelated_class_t *unrelated_class_local_var = ogs_malloc(sizeof(OpenAPI_unrelated_class_t));
|
||||
ogs_assert(unrelated_class_local_var);
|
||||
|
||||
unrelated_class_local_var->default_unrelated_class = default_unrelated_class;
|
||||
unrelated_class_local_var->external_unrelated_class = external_unrelated_class;
|
||||
unrelated_class_local_var->service_type_unrelated_classes = service_type_unrelated_classes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue