This website works better with JavaScript
Home
Explore
Help
Sign In
Godot
/
godot
mirror of
https://github.com/godotengine/godot.git
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
Fixed memory leak with AStar class
Robert Hernandez
8 years ago
parent
bf4ba3d8c0
commit
794407e7b6
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
core/math/a_star.cpp
+ 1
- 0
core/math/a_star.cpp
View File
@@ -443,4 +443,5 @@ AStar::AStar() {
AStar::~AStar() {
pass = 1;
+ clear();
}