mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
IMMORTAL: Fix memory leak
CID 1551960
This commit is contained in:
parent
33952e8fce
commit
f64c137771
@ -645,6 +645,8 @@ void ImmortalEngine::loadSprites() {
|
||||
initDataSprite(file, &d, n / 2, centerXY[s * 2], centerXY[(s * 2) + 1]);
|
||||
_dataSprites[s] = d;
|
||||
}
|
||||
|
||||
delete file;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user