Ticket #44755

sdl2: city_map_canvas not freed on client exit

Eröffnet am: 2022-06-05 06:26 Letztes Update: 2022-06-18 04:56

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
3

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-Verlauf (3/6 Historien)

2022-06-05 06:26 Aktualisiert von: cazfi
  • New Ticket "sdl2: city_map_canvas not freed on client exit" created
2022-06-12 04:19 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
Kommentar

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.

2022-06-18 04:56 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden