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:
Timofey Lagutin 2015-01-10 23:31:24 +03:00 committed by lostdj
parent 394c5cacce
commit da01d20c19

View File

@ -1792,9 +1792,9 @@ void JNICALL freeZipFileEntry(Thread* t, GcMethod* method, uintptr_t* arguments)
0,
file->file,
entry->entry);
}
t->m->heap->free(entry, sizeof(ZipFile::Entry));
t->m->heap->free(entry, sizeof(ZipFile::Entry));
}
}
int64_t JNICALL