We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4708

Summary: testdropfile: double-free
Product: SDL Reporter: Juha Niemimäki <juha.niemimaki>
Component: *don't know*Assignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 CC: sezeroz
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   

Description Juha Niemimäki 2019-07-03 08:05:24 UTC
SDLTest_CommonEvent seems to free the file name so testdropfile prints some garbage to console and crashes when freeing the name again.
Comment 1 Sam Lantinga 2019-07-03 09:38:15 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/c6c6e400a007