URL:
<http://gna.org/bugs/?24468>
Summary: Commandline option parameters allocated with
get_option_malloc() not freed
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 26 Feb 2016 09:49:34 PM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
There might be exceptions, but generally we never free what we get from
get_option_malloc(). This is harmless enough that I've not been reworking S2_5
to fix this (can consider backporting when implemented). It's a tiny amount of
memory, and in most cases they are anyway needed until we shut down the
program. So fixing this is mostly about getting valgrind reports clean. Goal
is server-side to get clean valgrind reports in 2.6.0.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24468>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev