diff --git a/SimpleTests/MeshTests/MeshRead.cpp b/SimpleTests/MeshTests/MeshRead.cpp
index d7b2290d61d6b360cdc1423022255aa431bb7e1b..4a1c9dcb62c6bc42e2744f5fe43c8d6009eea045 100644
--- a/SimpleTests/MeshTests/MeshRead.cpp
+++ b/SimpleTests/MeshTests/MeshRead.cpp
@@ -76,6 +76,7 @@ int main(int argc, char *argv[])
 
 	delete mesh;
 	delete logogCout;
+	delete custom_format;
 	LOGOG_SHUTDOWN();
 }