mirror of https://git.sr.ht/~rabbits/uxn
Make sure device memory is freed
This commit is contained in:
parent
28393a41a5
commit
a63276e284
|
@ -473,6 +473,7 @@ 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);
|
||||
|
|
Loading…
Reference in New Issue