uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit b2e67c0319a5cd4a1e2bb8f87231a2a5d242b203
parent e6cf770d2e8b3a9a723cb45af81197d4ca81dd21
Author: Bad Diode <bd@badd10de.dev>
Date:   Tue, 17 Oct 2023 17:26:46 +0200

Make sure device memory is freed

Diffstat:
Msrc/uxnemu.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -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);