diff --git a/src/rcore.c b/src/rcore.c index eb4dd3089..3ddf3596d 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2483,7 +2483,7 @@ AutomationEventList LoadAutomationEventList(const char *fileName) void UnloadAutomationEventList(AutomationEventList list) { #if defined(SUPPORT_AUTOMATION_EVENTS) - RL_FREE(list->events); + RL_FREE(list.events); #endif }