URL: <http://gna.org/bugs/?16981>
Summary: Memory leak in check_for_game_over() Project: Freeciv Submitted by: pepeto Submitted on: samedi 30.10.2010 à 16:48 Category: general Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: pepeto Originator Email: Open/Closed: Open Release: S2_2 Discussion Lock: Any Operating System: None Planned Release: 2.2.4 _______________________________________________________ Details: Fix for S2_2, as trunk is already fixed. Valgrind report: ==24930== 75 bytes in 5 blocks are definitely lost in loss record 819 of 952 ==24930== at 0x4C274A8: malloc (vg_replace_malloc.c:236) ==24930== by 0x50AA52: fc_real_malloc (mem.c:82) ==24930== by 0x50D837: astr_minsize (astring.c:85) ==24930== by 0x50D879: astr_clear (astring.c:189) ==24930== by 0x407C97: check_for_game_over (srv_main.c:255) ==24930== by 0x40B374: srv_running (srv_main.c:2087) ==24930== by 0x40BD5E: srv_main (srv_main.c:2438) ==24930== by 0x403904: main (civserver.c:359) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: samedi 30.10.2010 à 16:48 Name: S2_2_check_for_game_over.diff Size: 717 o By: pepeto <http://gna.org/bugs/download.php?file_id=11021> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?16981> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev