Util: Fix memory leak in mImageLoadVF

This commit is contained in:
Vicki Pfau 2023-03-31 01:57:08 -07:00
parent 1fd974272c
commit bd3a3b8360
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ static struct mImage* mImageLoadPNG(struct VFile* vf) {
PNGReadClose(png, info, end);
return NULL;
}
PNGReadClose(png, info, end);
return image;
}
#endif