diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index a219ce3f2e..4ec3c3c423 100644 --- a/src/classpath-openjdk.cpp +++ b/src/classpath-openjdk.cpp @@ -1800,9 +1800,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