mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
classpath-openjdk: Fix freeZipFileEntry()
Those ZipFile::Entries are part of ZipFile instance itself and will fail to free(). See :1504 and :1520 in openZipFile().
This commit is contained in:
parent
394c5cacce
commit
da01d20c19
@ -1792,9 +1792,9 @@ void JNICALL freeZipFileEntry(Thread* t, GcMethod* method, uintptr_t* arguments)
|
|||||||
0,
|
0,
|
||||||
file->file,
|
file->file,
|
||||||
entry->entry);
|
entry->entry);
|
||||||
}
|
|
||||||
|
|
||||||
t->m->heap->free(entry, sizeof(ZipFile::Entry));
|
t->m->heap->free(entry, sizeof(ZipFile::Entry));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t JNICALL
|
int64_t JNICALL
|
||||||
|
Loading…
Reference in New Issue
Block a user