Fix wrong freeing of memory
This commit is contained in:
parent
56c500f25e
commit
2c3f9f0f47
|
@ -510,7 +510,6 @@ static int
|
||||||
emu_end(Uxn *u)
|
emu_end(Uxn *u)
|
||||||
{
|
{
|
||||||
free(u->ram);
|
free(u->ram);
|
||||||
free(u->dev);
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#pragma GCC diagnostic ignored "-Wint-to-pointer-cast"
|
#pragma GCC diagnostic ignored "-Wint-to-pointer-cast"
|
||||||
TerminateThread((HANDLE)SDL_GetThreadID(stdin_thread), 0);
|
TerminateThread((HANDLE)SDL_GetThreadID(stdin_thread), 0);
|
||||||
|
|
Loading…
Reference in New Issue