#48416: actions_free() not freeing ACTION_UNUSED_? Open Date: 2023-07-18 16:33 Last Update: 2023-07-25 22:33 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48416 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48416 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-07-25 22:33 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: S3_2 valgrind: ==45833== 112 bytes in 1 blocks are definitely lost in loss record 18 of 21 ==45833== at 0x48407B4: malloc (vg_replace_malloc.c:381) ==45833== by 0x400FD0: fc_real_malloc (mem.c:89) ==45833== by 0x2DCC1C: action_new (actions.c:1678) ==45833== by 0x2DE2F0: unit_action_new (actions.c:1736) ==45833== by 0x2DE2F0: hard_code_actions (actions.c:1521) ==45833== by 0x2DE2F0: actions_init (actions.c:1539) ==45833== by 0x2F2711: game_ruleset_init (game.c:516) ==45833== by 0x2F2814: game_init (game.c:442) ==45833== by 0x15E948: server_game_init (srv_main.c:3454) ==45833== by 0x15E948: srv_main (srv_main.c:3563) ==45833== by 0x153E6D: main (civserver.c:388) actions.c:1539 is "= unit_action_new(ACTION_UNUSED_2, ACTRES_NONE," -- 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/48416 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48416