Quan-Zhi / k-shortest-paths

Automatically exported from code.google.com/p/k-shortest-paths
0 stars 0 forks source link

Another memory leak, this time in QYShortestPaths.cpp #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the program with a source-destination pair that are not connected or
an invalid destination.
2. CQYShortestPath::_GetShortestPath() will return a new Directed Path that
is disconnected.
3. This graph needs to be deleted in QYShortestPath.cpp as part of the 
validity check.

What is the expected output? What do you see instead?
The graph should be deleted. The graph is not deleted.

What version of the product are you using? On what operating system?
I am using version 1.0.3 with MS Visual Studio 2003 on Windows XP.

Please provide any additional information below.

Original issue reported on code.google.com by timothya...@gmail.com on 19 May 2009 at 9:47