URL:
  <http://gna.org/bugs/?17667>

                 Summary: ferry_map allocated by find_something_to_kill()
sometimes not freed
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 07 Feb 2011 10:03:36 PM EET
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: cazfi
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0

    _______________________________________________________

Details:

Biggest leak found in S2_3 server valgrind run was:

==7824== 37,488,128 (154,752 direct, 37,333,376 indirect) bytes in 744 blocks
are definitely lost in loss record 1,190 of 1,190
==7824==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==7824==    by 0x584181: fc_real_malloc (mem.c:83)
==7824==    by 0x5977B0: pf_map_new (path_finding.c:774)
==7824==    by 0x4B04EF: find_something_to_kill (aiunit.c:1281)
==7824==    by 0x435CE7: kill_something_with (advmilitary.c:1111)
==7824==    by 0x43671B: military_advisor_choose_build (advmilitary.c:1473)
==7824==    by 0x4B7883: ai_manage_cities (aicity.c:674)
==7824==    by 0x4BE0D2: ai_do_last_activities (aihand.c:508)
==7824==    by 0x4072E4: end_phase (srv_main.c:994)
==7824==    by 0x40C704: srv_main (srv_main.c:2166)
==7824==    by 0x403F36: main (civserver.c:375)





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17667>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to