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_lpi_t *OpenAPI_lpi_create(
|
|||
OpenAPI_valid_time_period_t *valid_time_period
|
||||
)
|
||||
{
|
||||
OpenAPI_lpi_t *lpi_local_var = OpenAPI_malloc(sizeof(OpenAPI_lpi_t));
|
||||
if (!lpi_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_lpi_t *lpi_local_var = ogs_malloc(sizeof(OpenAPI_lpi_t));
|
||||
ogs_assert(lpi_local_var);
|
||||
|
||||
lpi_local_var->location_privacy_ind = location_privacy_ind;
|
||||
lpi_local_var->valid_time_period = valid_time_period;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue