0ad/source
Ralph Sennhauser 03fd1acd5d
Fix memory leak wrt renderer instance
The renderer instance is created with new, so use delete.

Direct leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x7fd3c932870b in operator new(unsigned long) (/usr/lib/gcc/x86_64-pc-linux-gnu/15/libasan.so.8+0x12870b)
    #1 0x55bbedf25fb0 in InitGraphics(CmdLineArgs const&, int, std::vector<CStr8, std::allocator<CStr8> > const&, ScriptContext&, ScriptInterface&) ../../../source/ps/GameSetup/GameSetup.cpp:654
    #2 0x55bbed2bb95e in RunGameOrAtlas ../../../source/main.cpp:684
    #3 0x55bbed271b28 in main ../../../source/main.cpp:759
    #4 0x7fd3c665f3ed in __libc_start_call_main (/lib64/libc.so.6+0x263ed)

Fixes: #7951
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-05-27 20:36:48 +02:00
..
collada Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
graphics Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
gui Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
i18n Get config values without using return parameters 2025-04-09 12:51:21 +02:00
lib Adds 64bits support. 2025-04-26 20:53:09 +02:00
lobby Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
maths Tell GCC the maximum value of m_BufLen 2025-01-13 20:05:43 +01:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Stop running shrinking gcs & simplify GC logic. 2025-04-22 17:03:29 +02:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Fix memory leak wrt renderer instance 2025-05-27 20:36:48 +02:00
renderer Use freetype for font rendering 2025-05-16 14:57:59 -05:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Skip redundant HasProperty in GetObjectClassName 2025-05-10 17:08:49 +02:00
simulation2 Improve group movement by distributing units around the target. 2025-05-24 14:34:09 +02:00
soundmanager Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
third_party Disable deprecation warning for old boost 2025-03-23 14:38:43 +01:00
tools Refactor validate_dae.py for more speed 2025-05-27 08:05:13 +02:00
main.cpp Adds fixed frame frequency. 2025-04-25 19:15:57 +02:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00