Mathias Fröhlich:

I guess the most important memory leaks are plugged now.
Just by inspection: An other memory leak in Simgear.
This commit is contained in:
ehofman
2005-10-27 08:21:58 +00:00
parent cfbc0a1579
commit 1b45eaf3de
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ SGMatModel::~SGMatModel ()
{
for (unsigned int i = 0; i < _models.size(); i++) {
if (_models[i] != 0) {
_models[i]->deRef();
ssgDeRefDelete(_models[i]);
_models[i] = 0;
}
}