aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-19 13:08:54 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:30 +0100
commit3fcd3c15262adb1b4ac9f69475df2a4145c450d3 (patch)
tree08542f2438b8e3a1ea9bc711392cd9dcf7421619 /engines/lab/intro.cpp
parent7f5826cfcb72d1375d6c24b153a446fd9c92f623 (diff)
downloadscummvm-rg350-3fcd3c15262adb1b4ac9f69475df2a4145c450d3.tar.gz
scummvm-rg350-3fcd3c15262adb1b4ac9f69475df2a4145c450d3.tar.bz2
scummvm-rg350-3fcd3c15262adb1b4ac9f69475df2a4145c450d3.zip
LAB: Avoid memory leaks with fonts
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r--engines/lab/intro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index 9fbd0b3def..2d2c55d09d 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -449,7 +449,7 @@ void Intro::introSequence() {
_vm->_anim->_doBlack = true;
}
- _vm->_graphics->closeFont(msgFont);
+ _vm->_graphics->closeFont(&msgFont);
}
} // End of namespace Lab