mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 20:55:19 +00:00
TITANIC: Fix memory leak loading star control stars
This commit is contained in:
parent
f6ef3cbc9e
commit
0362b70225
@ -56,6 +56,7 @@ bool CStarPoints1::initialize() {
|
||||
entry._z = sin(v2) * 3000000.0;
|
||||
}
|
||||
|
||||
delete stream;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -61,6 +61,7 @@ bool CStarPoints2::initialize() {
|
||||
}
|
||||
}
|
||||
|
||||
delete stream;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user