IMMORTAL: Fix memory leak

CID 1551960
This commit is contained in:
sluicebox 2024-07-19 22:56:46 -07:00
parent 33952e8fce
commit f64c137771

View File

@ -645,6 +645,8 @@ void ImmortalEngine::loadSprites() {
initDataSprite(file, &d, n / 2, centerXY[s * 2], centerXY[(s * 2) + 1]);
_dataSprites[s] = d;
}
delete file;
}
}