Skip to content
Permalink
Browse files

Fix memory leak in MapgenV6

  • Loading branch information
Zeno- committed Mar 5, 2015
1 parent eb7482f commit 9e675793155d7cd56bbd2222df7b45245008c647
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/mapgen_v6.cpp
@@ -117,6 +117,8 @@ MapgenV6::~MapgenV6()
delete noise_mud;
delete noise_beach;
delete noise_biome;

delete[] heightmap;
}


2 comments on commit 9e67579

@nerzhul

This comment has been minimized.

Copy link
Member

@nerzhul nerzhul replied Mar 5, 2015

Well done !

@Zeno-

This comment has been minimized.

Copy link
Contributor Author

@Zeno- Zeno- replied Mar 5, 2015

hah :)

Please sign in to comment.
You can’t perform that action at this time.