mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-22 22:05:11 +00:00
Make sure device memory is freed
This commit is contained in:
parent
e6cf770d2e
commit
b2e67c0319
1 changed files with 1 additions and 0 deletions
|
@ -510,6 +510,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 a new issue