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:
@ -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;
|
||||
|
Reference in New Issue
Block a user