(svn r20684) -Codechange: Make BinaryHeap_Free() a method.

This commit is contained in:
alberth
2010-08-29 13:38:27 +00:00
parent 3f0cd8c9f0
commit b06cedc905
3 changed files with 13 additions and 14 deletions

View File

@@ -203,7 +203,7 @@ static int AyStarMain_Loop(AyStar *aystar)
*/
static void AyStarMain_Free(AyStar *aystar)
{
aystar->OpenListQueue.free(&aystar->OpenListQueue, false);
aystar->OpenListQueue.Free(false);
/* 2nd argument above is false, below is true, to free the values only
* once */
delete_Hash(&aystar->OpenListHash, true);