commit 2c3f9f0f47173fba59b41ba7718a15ee1a0b41f4
parent 56c500f25edab769c40cf7a05c6232d6a3b573bb
Author: Bad Diode <bd@badd10de.dev>
Date: Tue, 17 Oct 2023 20:12:07 +0200
Fix wrong freeing of memory
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -510,7 +510,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);