mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20: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
|
|
@ -8,10 +8,9 @@ OpenAPI_dnf_unit_t *OpenAPI_dnf_unit_create(
|
|||
OpenAPI_list_t *dnf_unit
|
||||
)
|
||||
{
|
||||
OpenAPI_dnf_unit_t *dnf_unit_local_var = OpenAPI_malloc(sizeof(OpenAPI_dnf_unit_t));
|
||||
if (!dnf_unit_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_dnf_unit_t *dnf_unit_local_var = ogs_malloc(sizeof(OpenAPI_dnf_unit_t));
|
||||
ogs_assert(dnf_unit_local_var);
|
||||
|
||||
dnf_unit_local_var->dnf_unit = dnf_unit;
|
||||
|
||||
return dnf_unit_local_var;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue