1
0
Fork 0
mirror of https://github.com/s1204IT/Lockpick_RCM.git synced 2024-09-20 14:03:39 +01:00

Remove invalid free for this use case

This commit is contained in:
shchmue 2019-10-25 10:05:57 -06:00
parent 28f4190076
commit e5849e3ab2

View file

@ -139,7 +139,6 @@ int pkg2_decompress_kip(pkg2_kip1_info_t* ki, u32 sectsToDecomp)
memcpy(newKip, &hdr, sizeof(hdr));
newKipSize = dstDataPtr-(unsigned char*)(newKip);
free(ki->kip1);
ki->kip1 = newKip;
ki->size = newKipSize;