diff --git a/MeshLib/MeshEditing/MeshRevision.cpp b/MeshLib/MeshEditing/MeshRevision.cpp
index d5015604dd9022187c3469596c1d0842b97f1860..c02e24e73592e91d06a5cc8ec0715b37d0c3391f 100644
--- a/MeshLib/MeshEditing/MeshRevision.cpp
+++ b/MeshLib/MeshEditing/MeshRevision.cpp
@@ -798,6 +798,8 @@ MeshLib::Element* MeshRevision::constructFourNodeElement(
         return new MeshLib::Tet(new_nodes);
     }
     // is quad but min elem dim == 3
+
+    delete[] new_nodes;
     return nullptr;
 }