diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index 6247eda6ca..beb032c35c 100644 --- a/src/classpath-openjdk.cpp +++ b/src/classpath-openjdk.cpp @@ -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