diff --git a/Applications/DataExplorer/DataView/DirectConditionGenerator.cpp b/Applications/DataExplorer/DataView/DirectConditionGenerator.cpp
index af6431d9c34b731f0c21019ebe59651d8d8f064c..9dbc80315a0c87a163f9ff504baa2887c9f4d3d2 100644
--- a/Applications/DataExplorer/DataView/DirectConditionGenerator.cpp
+++ b/Applications/DataExplorer/DataView/DirectConditionGenerator.cpp
@@ -53,6 +53,9 @@ const std::vector< std::pair<std::size_t,double> >& DirectConditionGenerator::di
             _direct_values.push_back (std::pair<std::size_t, double>(surface_nodes[i]->getID(), val));
         }
         delete raster;
+
+        std::for_each(surface_nodes.begin(), surface_nodes.end(),
+                      std::default_delete<MeshLib::Node>());
     }
     else
         ERR("Error in DirectConditionGenerator::directToSurfaceNodes() - Data vector contains outdated values.");