diff --git a/src/util/image.c b/src/util/image.c index b24fd3f50..c074c6b91 100644 --- a/src/util/image.c +++ b/src/util/image.c @@ -91,6 +91,7 @@ static struct mImage* mImageLoadPNG(struct VFile* vf) { PNGReadClose(png, info, end); return NULL; } + PNGReadClose(png, info, end); return image; } #endif