Incidencia #48416

actions_free() not freeing ACTION_UNUSED_?

Abrir Fecha: 2023-07-18 22:33 Última actualización: 2023-07-26 04:33

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2023-07-26 04:33 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar