mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 07:46:11 +00:00
NANCY: Fix memory leak
Fixed another instance of a chunk stream not getting deleted after use.
This commit is contained in:
parent
889cee6ab0
commit
80260711eb
@ -510,6 +510,8 @@ void Scene::load() {
|
||||
|
||||
_sceneState.summary.read(*sceneSummaryChunk);
|
||||
|
||||
delete sceneSummaryChunk;
|
||||
|
||||
debugC(0, kDebugScene, "Loading new scene %i: description \"%s\", frame %i, vertical scroll %i, doNotStartSound == %s",
|
||||
_sceneState.nextScene.sceneID,
|
||||
_sceneState.summary.description.c_str(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user