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



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



Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to