Browse Source

Fix memory leak and remove some garbage files added in last commit

Arseniy Shestakov 8 years ago
parent
commit
fad2a0a3fb
4 changed files with 2 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 0 0
      CMakeLists.txt.autosave.t10925
  3. 0 0
      CMakeLists.txt.s10925
  4. 1 0
      client/gui/CGuiHandler.cpp

+ 1 - 0
.gitignore

@@ -16,6 +16,7 @@
 *.swp
 *.h.gch
 *~
+*.autosave.*
 /CMakeLists.txt.user
 CMakeCache.txt
 CMakeFiles

+ 0 - 0
CMakeLists.txt.autosave.t10925


+ 0 - 0
CMakeLists.txt.s10925


+ 1 - 0
client/gui/CGuiHandler.cpp

@@ -486,6 +486,7 @@ CGuiHandler::CGuiHandler()
 CGuiHandler::~CGuiHandler()
 {
 	delete mainFPSmng;
+	delete terminate_cond;
 }
 
 void CGuiHandler::breakEventHandling()