Review UnloadAutomationEventList
This commit is contained in:
parent
68b6c79c3f
commit
e6eb078af4
|
|
@ -2480,13 +2480,10 @@ AutomationEventList LoadAutomationEventList(const char *fileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unload automation events list from file
|
// Unload automation events list from file
|
||||||
void UnloadAutomationEventList(AutomationEventList *list)
|
void UnloadAutomationEventList(AutomationEventList list)
|
||||||
{
|
{
|
||||||
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
||||||
RL_FREE(list->events);
|
RL_FREE(list->events);
|
||||||
list->events = NULL;
|
|
||||||
list->count = 0;
|
|
||||||
list->capacity = 0;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user