TITANIC: Fix memory leak loading star control stars

This commit is contained in:
Paul Gilbert 2017-09-18 21:06:34 -04:00
parent f6ef3cbc9e
commit 0362b70225
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ bool CStarPoints1::initialize() {
entry._z = sin(v2) * 3000000.0;
}
delete stream;
return true;
}

View File

@ -61,6 +61,7 @@ bool CStarPoints2::initialize() {
}
}
delete stream;
return true;
}