Improved Cmake scripts to better support Windows, and fixed a large memory leak because *reader was not being deleting after being created in Clip objects.

This commit is contained in:
Jonathan Thomas
2014-07-25 23:32:12 -05:00
parent a47d3360cb
commit 3227d59f15
4 changed files with 45 additions and 11 deletions

View File

@@ -99,6 +99,9 @@ void ImageReader::Close()
{
// Mark as "closed"
is_open = false;
// Delete the image
image.reset();
}
}