mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10:10 +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_nas_security_mode_t *OpenAPI_nas_security_mode_create(
|
|||
OpenAPI_ciphering_algorithm_e ciphering_algorithm
|
||||
)
|
||||
{
|
||||
OpenAPI_nas_security_mode_t *nas_security_mode_local_var = OpenAPI_malloc(sizeof(OpenAPI_nas_security_mode_t));
|
||||
if (!nas_security_mode_local_var) {
|
||||
return NULL;
|
||||
}
|
||||
OpenAPI_nas_security_mode_t *nas_security_mode_local_var = ogs_malloc(sizeof(OpenAPI_nas_security_mode_t));
|
||||
ogs_assert(nas_security_mode_local_var);
|
||||
|
||||
nas_security_mode_local_var->integrity_algorithm = integrity_algorithm;
|
||||
nas_security_mode_local_var->ciphering_algorithm = ciphering_algorithm;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue