Fix wrong freeing of memory

This commit is contained in:
Bad Diode 2023-10-17 20:12:07 +02:00 committed by neauoire
parent 56c500f25e
commit 2c3f9f0f47
1 changed files with 0 additions and 1 deletions

View File

@ -510,7 +510,6 @@ static int
emu_end(Uxn *u)
{
free(u->ram);
free(u->dev);
#ifdef _WIN32
#pragma GCC diagnostic ignored "-Wint-to-pointer-cast"
TerminateThread((HANDLE)SDL_GetThreadID(stdin_thread), 0);