[Freeciv-tickets] [freeciv] #45544: enabler_first_clarification() memory leak

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sat Sep 10 18:47:22 JST 2022


#45544: enabler_first_clarification() memory leak

  Open Date: 2022-09-01 05:15
Last Update: 2022-09-10 12:47

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45544
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45544

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-09-10 12:47 Updated by: cazfi

Comment:

Reply To cazfi
Other functions do req_to_fstring() calls with similar pattern.
It's not the pattern that is used in req_to_fstring() calling. It's the fact that req_to_fstring() cannot be used without leaking memory as the API is currently designed.


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.4
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Valgrind reports minor leak in S3_0 that comes from the req_to_fstring() call within enabler_first_clarification(). Other functions do req_to_fstring() calls with similar pattern.


-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45544
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45544



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index