mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
static analysis
This commit is contained in:
@@ -3985,6 +3985,7 @@ void JavaLibrary::alterScriptParams(jobjectArray jparams, const std::string& arg
|
||||
else
|
||||
{
|
||||
WARNING_STRICT_FATAL(true, ("Error getting back string id param on script return"));
|
||||
delete value;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
+2
@@ -1202,6 +1202,7 @@ void ProceduralTerrainAppearance::_legacyCreateFlora(const Chunk* const chunk)
|
||||
IGNORE_RETURN (m_floraMap->insert (std::make_pair (key, object)));
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template in ProceduralTerrainAppearance::_legacyCreateFlora is not found"));
|
||||
delete object;
|
||||
}
|
||||
} //lint !e429 //-- collisionProperty has not been freed or returned
|
||||
}
|
||||
@@ -1361,6 +1362,7 @@ void ProceduralTerrainAppearance::createFlora (const Chunk* const chunk)
|
||||
IGNORE_RETURN (m_floraMap->insert (std::make_pair (key, object)));
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template in ProceduralTerrainAppearance::createFlora is not found"));
|
||||
delete object;
|
||||
}
|
||||
|
||||
} //lint !e429 //-- collisionProperty has not been freed or returned
|
||||
|
||||
Reference in New Issue
Block a user