Core: Clean up after core has been deinited

This commit is contained in:
Jeffrey Pfau 2016-03-03 00:04:36 -08:00
parent 1f204c8eef
commit 3abd2ca028
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ static void _GBCoreDeinit(struct mCore* core) {
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
mDirectorySetDeinit(&core->dirs);
#endif
free(core);
}
static enum mPlatform _GBCorePlatform(struct mCore* core) {

View File

@ -64,6 +64,7 @@ static void _GBACoreDeinit(struct mCore* core) {
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
mDirectorySetDeinit(&core->dirs);
#endif
free(core);
}
static enum mPlatform _GBACorePlatform(struct mCore* core) {