mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Fix memory leak (one Palette object) in .ico image loader.
This commit is contained in:
parent
bc22007455
commit
b231be51e1
@ -165,6 +165,7 @@ static bool load_ICO(FileOp *fop)
|
||||
}
|
||||
|
||||
sprite->setPalette(pal, true);
|
||||
delete pal;
|
||||
}
|
||||
|
||||
// Read XOR MASK
|
||||
|
Loading…
x
Reference in New Issue
Block a user