Files
0ad/source/ps
Ralph Sennhauser 182b1e3ee6 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>
(cherry picked from commit 03fd1acd5d)
Signed-off-by: Itms <itms@wildfiregames.com>
2025-06-19 16:58:03 +02:00
..
2024-12-09 10:43:35 +01:00
2024-11-17 18:03:49 +01:00
2024-12-28 11:29:08 +01:00
2024-12-10 11:29:48 +01:00
2024-12-10 11:29:48 +01:00
2024-11-14 19:25:28 +01:00
2025-04-27 20:59:22 +02:00
2025-01-08 14:36:56 +01:00
2024-12-19 21:36:51 +01:00
2024-12-19 21:36:51 +01:00
2024-10-08 23:07:18 +02:00