aboutsummaryrefslogtreecommitdiff
path: root/engines/prince
diff options
context:
space:
mode:
authorlukaslw2014-08-15 21:59:24 +0200
committerlukaslw2014-08-15 21:59:24 +0200
commit422054f81cdcdd3f962afd8f777e83458b3f4588 (patch)
treec658878f6711c97ece58971ff825c9df9cb23e27 /engines/prince
parent9ef705ebb46c93dea4da42ea63d42b34b395ae89 (diff)
downloadscummvm-rg350-422054f81cdcdd3f962afd8f777e83458b3f4588.tar.gz
scummvm-rg350-422054f81cdcdd3f962afd8f777e83458b3f4588.tar.bz2
scummvm-rg350-422054f81cdcdd3f962afd8f777e83458b3f4588.zip
PRINCE: init() - delete creditsDataStream
Diffstat (limited to 'engines/prince')
-rw-r--r--engines/prince/prince.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index 634ac2ccf6..080085b323 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -353,6 +353,7 @@ void PrinceEngine::init() {
_creditsDataSize = creditsDataStream->size();
_creditsData = (byte *)malloc(_creditsDataSize);
creditsDataStream->read(_creditsData, _creditsDataSize);
+ delete creditsDataStream;
}
void PrinceEngine::showLogo() {