mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
8e98cf2311
The CharacterObject should remove the CharacterController upon destruction. Should fix this memory leak: ==31441== 480 (360 direct, 120 indirect) bytes in 5 blocks are definitely lost in loss record 2,038 of 2,723 ==31441== at 0x4C2F1CA: operator new(unsigned long) (vg_replace_malloc.c:334) ==31441== by 0x7E2370: GameWorld::createPedestrian(unsigned short, glm::tvec3<float, (glm::precision)0> const&, glm::tquat<float, (glm::precision)0> const&, unsigned int) (GameWorld.cpp:334) ==31441== by 0x8E2F01: TrafficDirector::populateNearby(ViewCamera const&, float, int) (TrafficDirector.cpp:164) ==31441== by 0x7E1170: GameWorld::createTraffic(ViewCamera const&) (GameWorld.cpp:176) ==31441== by 0x75C616: RWGame::tick(float) (RWGame.cpp:531) ==31441== by 0x75BF18: RWGame::run() (RWGame.cpp:420) ==31441== by 0x749184: main (main.cpp:15) |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp | ||
test_animation.cpp | ||
test_archive.cpp | ||
test_buoyancy.cpp | ||
test_character.cpp | ||
test_chase.cpp | ||
test_config.cpp | ||
test_cutscene.cpp | ||
test_data.cpp | ||
test_FileIndex.cpp | ||
test_GameData.cpp | ||
test_GameWorld.cpp | ||
test_globals.cpp | ||
test_globals.hpp | ||
test_Input.cpp | ||
test_items.cpp | ||
test_lifetime.cpp | ||
test_loaderdff.cpp | ||
test_LoaderIPL.cpp | ||
test_Logger.cpp | ||
test_menu.cpp | ||
test_object_data.cpp | ||
test_object.cpp | ||
test_pickup.cpp | ||
test_renderer.cpp | ||
test_rwbstream.cpp | ||
test_SaveGame.cpp | ||
test_scriptmachine.cpp | ||
test_state.cpp | ||
test_text.cpp | ||
test_trafficdirector.cpp | ||
test_vehicle.cpp | ||
test_VisualFX.cpp | ||
test_weapon.cpp | ||
test_world.cpp | ||
test_ZoneData.cpp |