diff --git a/source/keys/keyfile.c b/source/keys/keyfile.c index 19f4690..18755ec 100644 --- a/source/keys/keyfile.c +++ b/source/keys/keyfile.c @@ -36,7 +36,7 @@ int GetKeysFromFile(char *path){ if (!sd_mount()) return 1; - LIST_INIT(iniList); + LIST_INIT(iniList); // Whatever we'll just let this die in memory hell if (!ini_parse(&iniList, path, false)) return 1; @@ -47,8 +47,7 @@ int GetKeysFromFile(char *path){ AddKey(dumpedKeys.master_key, getKey("master_key_00", &iniList), AES_128_KEY_SIZE); AddKey(dumpedKeys.header_key, getKey("header_key", &iniList), AES_128_KEY_SIZE * 2); AddKey(dumpedKeys.save_mac_key, getKey("save_mac_key", &iniList), AES_128_KEY_SIZE); - - list_empty(&iniList); + gfx_puts(" Done"); return 0; } \ No newline at end of file diff --git a/source/storage/mountmanager.c b/source/storage/mountmanager.c index 3c3d2a5..a3311a2 100644 --- a/source/storage/mountmanager.c +++ b/source/storage/mountmanager.c @@ -36,7 +36,6 @@ void disconnectMMC(){ TConf.currentMMCConnected = MMC_CONN_None; emummc_storage_end(&emmc_storage); nx_emmc_gpt_free(&curGpt); - list_empty(&curGpt); } }