about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorMartin Nowack <martin.nowack@gmail.com>2013-08-13 16:30:51 +0200
committerMartin Nowack <martin@se.inf.tu-dresden.de>2013-12-05 00:55:07 +0100
commit29c87addb0bf80baafc5f561cb68509a70a5b1c5 (patch)
tree945280a95c48b1e89061d6fd303beed1c5692257 /tools
parent5cc2a33b94e8d9192053caf2b24cb5a0aa5494ad (diff)
downloadklee-29c87addb0bf80baafc5f561cb68509a70a5b1c5.tar.gz
Close file descriptors used for warnings and messages
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index 769be28e..0f5ce0c0 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -360,6 +360,8 @@ KleeHandler::KleeHandler(int argc, char **argv)
 KleeHandler::~KleeHandler() {
   if (m_pathWriter) delete m_pathWriter;
   if (m_symPathWriter) delete m_symPathWriter;
+  fclose(klee_warning_file);
+  fclose(klee_message_file);
   delete m_infoFile;
 }