mirror of
https://github.com/zeldaret/ph
synced 2026-05-24 07:10:52 -04:00
Free block infos when done compressing
This commit is contained in:
@@ -123,6 +123,7 @@ bool Compress(const uint8_t *src, uint8_t *dst, size_t size, uint8_t **pResult,
|
||||
break;
|
||||
}
|
||||
}
|
||||
free(blockInfos);
|
||||
*pResult = write;
|
||||
*pLen = size - (write - dst);
|
||||
*pNumIdentical = numIdentical;
|
||||
|
||||
Reference in New Issue
Block a user