From ccf2890812b965c2a3a062baf5eb9eab036ae954 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 25 Sep 2019 09:12:33 +0100 Subject: [PATCH] Bugfix: meshObject should be deleted even without debug. Andro Bakica --- src/foam/meshes/MeshObject/meshObjectBase.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/foam/meshes/MeshObject/meshObjectBase.H b/src/foam/meshes/MeshObject/meshObjectBase.H index d721fbe22..2f6730889 100644 --- a/src/foam/meshes/MeshObject/meshObjectBase.H +++ b/src/foam/meshes/MeshObject/meshObjectBase.H @@ -168,9 +168,9 @@ public: if (Mesh::debug) { Info << "Deleting object " << obj.type() << endl; - - obj.deleteObject(); } + + obj.deleteObject(); } }