mirror of
https://github.com/Decscots/Lockpick_RCM
synced 2024-11-15 11:56:34 +00:00
Remove invalid free for this use case
This commit is contained in:
parent
28f4190076
commit
e5849e3ab2
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ int pkg2_decompress_kip(pkg2_kip1_info_t* ki, u32 sectsToDecomp)
|
||||||
memcpy(newKip, &hdr, sizeof(hdr));
|
memcpy(newKip, &hdr, sizeof(hdr));
|
||||||
newKipSize = dstDataPtr-(unsigned char*)(newKip);
|
newKipSize = dstDataPtr-(unsigned char*)(newKip);
|
||||||
|
|
||||||
free(ki->kip1);
|
|
||||||
ki->kip1 = newKip;
|
ki->kip1 = newKip;
|
||||||
ki->size = newKipSize;
|
ki->size = newKipSize;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue