#44755: sdl2: city_map_canvas not freed on client exit Open Date: 2022-06-05 00:26 Last Update: 2022-06-11 22:19 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44755 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44755 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-11 22:19 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted Comment: Reply To cazfi Should be fixed just so that it won't show up in valgrind reports any more These fixes actually handle also such an issue that the city_map_canvas pointer was not initialized, and if it happened to be non-NULL it was assumed to contain a valid value to free() before reallocation. To fix that more serious aspect made also S2_6 version. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.3 Component: SDL2-client Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: sdl2-client does not free city_map_canvas on exit. Should be fixed just so that it won't show up in valgrind reports any more (possibly causing people to investigate the situation over and over) -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44755 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44755