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

                 Summary: No unit types data freed if unit has no helptext
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 06 May 2013 04:05:25 AM EEST
                Category: general
                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.4.0, 2.5.0, 2.6.0

    _______________________________________________________

Details:

unit_type_free() has check that unit has helptext before freeing it. Problem
is that also all the other frees are trapped inside that check.

Fix attached.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 06 May 2013 04:05:25 AM EEST  Name: UnitTypesFree-S2_4.patch  Size:
517B   By: cazfi

<http://gna.org/bugs/download.php?file_id=17896>
-------------------------------------------------------
Date: Mon 06 May 2013 04:05:25 AM EEST  Name: UnitTypesFree.patch  Size: 861B 
 By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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