From: notaz Date: Mon, 2 Feb 2015 23:35:33 +0000 (+0200) Subject: frontend: update libpicofe X-Git-Tag: r22~6 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=eed148b7fcde73477379388da58d12cd379a6a81;ds=sidebyside frontend: update libpicofe --- diff --git a/frontend/libpicofe b/frontend/libpicofe index 515ac0b9..9fec8a91 160000 --- a/frontend/libpicofe +++ b/frontend/libpicofe @@ -1 +1 @@ -Subproject commit 515ac0b9d2c4d45a465335d54b8c49830914fcea +Subproject commit 9fec8a91c9b19856ac0b51de53b847b38ed8dc61 diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c index 0d80107b..edebdd03 100644 --- a/libpcsxcore/ppf.c +++ b/libpcsxcore/ppf.c @@ -347,8 +347,10 @@ int LoadSBI(const char *fname, int sector_count) { return -1; sbi_sectors = calloc(1, sector_count / 8); - if (sbi_sectors == NULL) + if (sbi_sectors == NULL) { + fclose(sbihandle); return -1; + } // 4-byte SBI header fread(buffer, 1, 4, sbihandle);