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

@ -8,10 +8,9 @@ OpenAPI_modification_notification_t *OpenAPI_modification_notification_create(
OpenAPI_list_t *notify_items
)
{
OpenAPI_modification_notification_t *modification_notification_local_var = OpenAPI_malloc(sizeof(OpenAPI_modification_notification_t));
if (!modification_notification_local_var) {
return NULL;
}
OpenAPI_modification_notification_t *modification_notification_local_var = ogs_malloc(sizeof(OpenAPI_modification_notification_t));
ogs_assert(modification_notification_local_var);
modification_notification_local_var->notify_items = notify_items;
return modification_notification_local_var;