URL:
<http://gna.org/bugs/?21553>
Summary: "Island-based" generator memory leak
Project: Freeciv
Submitted by: pepeto
Submitted on: mer. 29 janv. 2014 01:39:15 CET
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release: S2_3,S2_4,S2_5,trunk
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Terrain selection lists are never freed. Fix attached.
Valgrind output:
==6080== 32 bytes in 1 blocks are definitely lost in loss record 221 of 1,459
==6080== at 0x4C2B6CD: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6080== by 0x5EE5E1: fc_real_malloc (mem.c:84)
==6080== by 0x5EE6F4: fc_real_calloc (mem.c:129)
==6080== by 0x5EC012: genlist_new_full (genlist.c:82)
==6080== by 0x464AE1: map_fractal_generate (speclist.h:168)
==6080== by 0x435BBA: srv_main (srv_main.c:2542)
==6080== by 0x42E851: main (civserver.c:453)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mer. 29 janv. 2014 01:39:15 CET Name: mapgen_mem_leak.diff Size: 3 ko
By: pepeto
<http://gna.org/bugs/download.php?file_id=19886>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21553>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev