diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-23 07:39:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 07:39:32 +0200 |
commit | 489d1b7eb3af914efd43a9217a59a7a84024f407 (patch) | |
tree | 0986676aaf3d2491cbbc3ba1295bbdad7a80222f | |
parent | c40eea876e0ad5a17ff079086138c29a5668c3ee (diff) | |
parent | 794407e7b61911c63af44bf7714ca33582d5cb9a (diff) |
Merge pull request #12332 from robertdhernandez/AStar-Memory-Leak-Fix
Fixed memory leak with AStar class
-rw-r--r-- | core/math/a_star.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/a_star.cpp b/core/math/a_star.cpp index 4f80fb2491..ffe1089965 100644 --- a/core/math/a_star.cpp +++ b/core/math/a_star.cpp @@ -443,4 +443,5 @@ AStar::AStar() { AStar::~AStar() { pass = 1; + clear(); } |