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

                 Summary: client_player_free() cannot help
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: dim. 14 sept. 2014 16:38:37 CEST
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 2.4.4, 2.5.0, 2.6.0

    _______________________________________________________

Details:

The function is only called when the player removal is sent from server side.
In game_free() case, it cannot help. So we need to move what the function free
into player_destroy().

Memory leak reported by valgrind.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: dim. 14 sept. 2014 16:38:37 CEST  Name: client_player_free.patch  Size:
2 ko   By: pepeto

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to