(svn r20885) -Codechange: Make delete_Hash a method.

This commit is contained in:
alberth
2010-10-02 19:44:54 +00:00
parent d86f781ca5
commit 6f85b46eeb
3 changed files with 15 additions and 16 deletions

View File

@@ -199,8 +199,8 @@ void AyStar::Free()
this->OpenListQueue.Free(false);
/* 2nd argument above is false, below is true, to free the values only
* once */
delete_Hash(&this->OpenListHash, true);
delete_Hash(&this->ClosedListHash, true);
this->OpenListHash.Delete(true);
this->ClosedListHash.Delete(true);
#ifdef AYSTAR_DEBUG
printf("[AyStar] Memory free'd\n");
#endif