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

                 Summary: free memory allocated by role_unit_precalcs when
the ruleset is freed
                 Project: Freeciv
            Submitted by: None
            Submitted on: Saturday 04/17/2010 at 22:35 CEST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: jkl102...@yahoo.com
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

The memory allocated by role_unit_precalcs is not freed when the ruleset is
freed.  It should be, because the role_unit_precalcs data is only valid as
long as the ruleset is valid.  Additionally, all allocated memory should be
freed before process exit.

Attached is a patch.

JKL



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 04/17/2010 at 22:35 CEST  Name: role_unit_precalcs.patch 
Size: 2kB   By: None

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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