Skip to content

Commit

Permalink
Closed InputStream in detectMimeType
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioG70 authored and hmiguim committed Feb 26, 2024
1 parent 57afe32 commit a0b18eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ private static void detectMimeType(ViewerRow row, ViewerCell cell, String databa
}
}

inputStream.close();
zipFile.close();

cell.setMimeType(mimeType);
Expand Down

0 comments on commit a0b18eb

Please sign in to comment.