mirror of
https://github.com/Decscots/Lockpick_RCM
synced 2024-11-15 02:16:34 +00:00
keys: Protect against free-before-use of kip
This commit is contained in:
parent
7a486e547e
commit
0459e813cf
1 changed files with 4 additions and 2 deletions
|
@ -483,9 +483,11 @@ get_tsec: ;
|
|||
}
|
||||
}
|
||||
pkg2_done:
|
||||
free(ki->kip1);
|
||||
if (ki) {
|
||||
free(ki->kip1);
|
||||
free(ki);
|
||||
}
|
||||
free(pkg2);
|
||||
free(ki);
|
||||
|
||||
u8 *rights_ids = NULL, *titlekeys = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue