Skip to content

[rcore] fix memory leak found by maiconpintoabreu#5598

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
CrackedPixel:memory-leak-fix-automationeventlist
Feb 26, 2026
Merged

[rcore] fix memory leak found by maiconpintoabreu#5598
raysan5 merged 1 commit into
raysan5:masterfrom
CrackedPixel:memory-leak-fix-automationeventlist

Conversation

@CrackedPixel

@CrackedPixel CrackedPixel commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

move the calloc to inside the #if

Tested the core/core_automation_events with and without the flag enabled

EDIT: original discovery by QuantumKarl

@raysan5 raysan5 merged commit f23a900 into raysan5:master Feb 26, 2026
16 checks passed
@raysan5

raysan5 commented Feb 26, 2026

Copy link
Copy Markdown
Owner

@CrackedPixel thanks for the review!

@CrackedPixel CrackedPixel deleted the memory-leak-fix-automationeventlist branch March 11, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants