~YenTopKShortestPathsAlg(void)
{
for (multiset<BasePath*, WeightLess<BasePath>>::iterator it=m_quPathCandidates.begin();
it!=m_quPathCandidates.end(); it++)
{
delete (*it);
}
for(vector<BasePath*>::iterator it= m_vResultList.begin();
it!=m_vResultList.end();it++)
{
delete *it;
}
clear();
}
and some other memory leak located in the DijkstraShortestPathAlg & Graph
Function
see the attachment for detail
Original issue reported on code.google.com by whyjie...@gmail.com on 8 Nov 2012 at 6:49
Original issue reported on code.google.com by
whyjie...@gmail.com
on 8 Nov 2012 at 6:49Attachments: