Use talloc for all memory pool (#1263)

This commit is contained in:
Sukchan Lee 2022-01-04 08:29:18 +09:00
parent 49d9ed03c7
commit b988e7edce
768 changed files with 4632 additions and 4901 deletions

View file

@ -10,10 +10,9 @@ OpenAPI_lcs_client_external_t *OpenAPI_lcs_client_external_create(
OpenAPI_valid_time_period_t *valid_time_period
)
{
OpenAPI_lcs_client_external_t *lcs_client_external_local_var = OpenAPI_malloc(sizeof(OpenAPI_lcs_client_external_t));
if (!lcs_client_external_local_var) {
return NULL;
}
OpenAPI_lcs_client_external_t *lcs_client_external_local_var = ogs_malloc(sizeof(OpenAPI_lcs_client_external_t));
ogs_assert(lcs_client_external_local_var);
lcs_client_external_local_var->allowed_geographic_area = allowed_geographic_area;
lcs_client_external_local_var->privacy_check_related_action = privacy_check_related_action;
lcs_client_external_local_var->valid_time_period = valid_time_period;