Skip to content

Crashes on load, SDL_Free #22

@magnusjjj

Description

@magnusjjj

For whatever reason, the game crashes when loading. I am compiling with Visual Studio 2022, for x64.

I hunted down the culprit in the form of:

SDL_free(fullpath);

Commenting out that in a couple of places did the trick. As to why that fixes things is an excellent question to which I don't have an answer at the moment ;).

Tried changing it to just free(fullpath); and that worked fine, not sure why the code is using SDL_free when it's not allocated by SDL, but hey. It's something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions