fixes for memory leaks and out of bounds memory access found by ASAN or gcc -flto

This commit is contained in:
kub 2020-12-12 14:57:56 +01:00
parent bb70cc6e66
commit a20300bf1e
8 changed files with 27 additions and 12 deletions

View file

@ -783,6 +783,7 @@ void PicoTmpStateRestore(void *data)
Pico32x.dirty_pal = 1;
}
#endif
free(t);
}
// vim:shiftwidth=2:ts=2:expandtab