# HG changeset patch # User vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1246500852 0 # Node ID 7416088ab19175ada80c058a4ea7e84ca860694a # Parent 66df2422a8b04a96ce1c1cdfbb412da9fcb23b2e removed the deleted of the heuristic in the RoutePatherSearch class. Don't want to delete the heuristic since it is holding a pointer to a singleton object. If this is ever not holding a pointer returned by a singleton then it will leak since it is not being deleted. diff -r 66df2422a8b0 -r 7416088ab191 engine/core/pathfinder/routepather/routepathersearch.cpp --- a/engine/core/pathfinder/routepather/routepathersearch.cpp Tue Jun 30 20:03:02 2009 +0000 +++ b/engine/core/pathfinder/routepather/routepathersearch.cpp Thu Jul 02 02:14:12 2009 +0000 @@ -57,7 +57,6 @@ RoutePatherSearch::~RoutePatherSearch(){ delete m_searchspace; - delete m_heuristic; } void RoutePatherSearch::updateSearch() {