From f11e55d9d16799ec5cc554f12361104d5ce54388 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sat, 8 Mar 2008 17:45:20 +0000
Subject: [PATCH] delete temporary memory after measuring

[[Imported from SVN: r2047]]
---
 dirneucoupling.cc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dirneucoupling.cc b/dirneucoupling.cc
index 3d9380bb..a38e51a3 100644
--- a/dirneucoupling.cc
+++ b/dirneucoupling.cc
@@ -713,6 +713,13 @@ int main (int argc, char *argv[]) try
                      << std::endl;
     }
 
+
+    // //////////////////////////////
+    //   Delete temporary memory
+    // //////////////////////////////
+    std::string removeTmpCommand = "rm -rf " + resultPath + "tmp/intermediate*";
+    system(removeTmpCommand.c_str());
+
     // //////////////////////////////
     //   Output result
     // //////////////////////////////
-- 
GitLab