2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Fix for plPNG::IRead not reading final end block of image.

This commit is contained in:
2011-05-30 16:44:46 -07:00
parent b84bb5da99
commit 3fa99eb673

View File

@ -143,6 +143,7 @@ plMipmap* plPNG::IRead(hsStream* inStream)
}
png_read_image(png_ptr, row_ptrs);
png_read_end(png_ptr, end_info);
// Clean up allocated structs
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
delete [] row_ptrs;