mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(HZC): fix missing Dispose
This commit is contained in:
@@ -87,6 +87,7 @@ namespace GameRes.Formats.FVP
|
||||
{
|
||||
var decoder = VFS.OpenImage (entry);
|
||||
var image = decoder.Image;
|
||||
decoder.Dispose();
|
||||
if (null == image)
|
||||
throw new InvalidFormatException ("Failed to decode base image.");
|
||||
var converted = image.Bitmap;
|
||||
|
||||
Reference in New Issue
Block a user