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

                 Summary: S2_3 ai settler code doesn't free all memory
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 11 Feb 2011 01:29:16 AM EET
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0, 2.4.0

    _______________________________________________________

Details:

S2_3 (and probably earlier) ai settlers code doesn't free all the memory it
has allocated when server quits. This is not really a leak (it's not
allocating more and more memory, this is single memory block it fails to free)
but shows up in valgrind report. In TRUNK this code has been rewritten and
there is no similar problem.

Fix for S2_3 is based on new game_free function in AI interface. I'm
attaching patch for TRUNK that makes similar addition to AI interface there.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 11 Feb 2011 01:29:16 AM EET  Name: FreeSettlerSystem-S2_3.diff 
Size: 3kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=12381>
-------------------------------------------------------
Date: Fri 11 Feb 2011 01:29:16 AM EET  Name: AiGameFree.diff  Size: 2kB   By:
cazfi

<http://gna.org/bugs/download.php?file_id=12382>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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