Ticket #48416

actions_free() not freeing ACTION_UNUSED_?

오픈 날짜: 2023-07-18 22:33 마지막 업데이트: 2023-07-26 04:33

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

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 History (3/4 Histories)

2023-07-18 22:33 Updated by: cazfi
  • New Ticket "actions_free() not freeing ACTION_UNUSED_?" created
2023-07-19 00:09 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-07-26 04:33 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login