mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-21 16:04:09 -08:00
Fix corruption issue
This commit is contained in:
parent
07728cb10a
commit
73148353eb
|
@ -231,7 +231,7 @@ public final class LaxMalloc {
|
|||
allocateMemoryFromChunk(addrIterator, chunkSize, sizeBytes);
|
||||
|
||||
// +4 bytes to skip size int
|
||||
Address ret = chunkPtr.add(4);
|
||||
Address ret = addrIterator.add(4);
|
||||
|
||||
// clear if requested
|
||||
if (cleared) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user