﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19885	"memory leak with ""temporary"" objects in validator and actions"	GerdP	GerdP	"I found some places where ways or relations are cloned for temporary use. This is likely to cause a memory leak since the clone might refer to child objects and those child objects will also refer to the clone unless the clone is correctlly cleaned up. Pattern:
{{{
#!java
// create full clone
Way wnew = new Way(w);
// do something with the clone
..
// make sure that the clone is cleaned up if no longer needed
wnew.setNodes(null);
}}}
"	defect	closed	normal		Core		fixed		
