Fix wrong freeing of memory

This commit is contained in:
Bad Diode 2023-10-17 20:12:07 +02:00
parent 18ee0d52ae
commit 95996ed902
1 changed files with 0 additions and 1 deletions

View File

@ -473,7 +473,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);