mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
DLC bug fix
This commit is contained in:
parent
641b78ab67
commit
28e61dcda7
1 changed files with 4 additions and 2 deletions
|
@ -702,8 +702,10 @@ int pgd_decrypt_block(PGD_DESC *pgd, int block)
|
|||
|
||||
int pgd_close(PGD_DESC *pgd)
|
||||
{
|
||||
free(pgd->block_buf);
|
||||
free(pgd);
|
||||
if(pgd){
|
||||
free(pgd->block_buf);
|
||||
free(pgd);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue