Skip to content

Commit

Permalink
Fixed the tiff file not closing in the getSize function
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHazard committed Dec 4, 2024
1 parent 2e22bd4 commit 41ae782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def run(self):
# Packaging for PyPI
setup(
name="cpp-tiff",
version="1.0.6",
version="1.0.7",
description="Python wrappers for cpp-tiff",
url='https://github.com/abcucberkeley/cpp-tiff',
author='Matthew Mueller',
Expand Down
1 change: 1 addition & 0 deletions src/helperfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ uint32_t getImageSizeZ(const char* fileName){
}
}
z = s+1;
TIFFClose(tif);
return z;
}

Expand Down

0 comments on commit 41ae782

Please sign in to comment.