summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cutScene.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cutScene.cpp b/src/cutScene.cpp
index cb0151b..70b2006 100644
--- a/src/cutScene.cpp
+++ b/src/cutScene.cpp
@@ -101,6 +101,8 @@ int dScCutScene_c::onExecute() {
sceneLoaders[currentScene].unload();
currentScene = -1;
+ layout->loader.buffer = 0;
+ layout->free();
delete layout;
layout = 0;
return true;