From 85f5798cc8424729b6c395c1fcd6dad1b612db2f Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Mon, 19 Jan 2015 11:23:18 +0100 Subject: [PATCH] algorithms_cpp: checking for memory leaks after tests --- algorithms_cpp/test/main.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/algorithms_cpp/test/main.cc b/algorithms_cpp/test/main.cc index cb61744..5613342 100644 --- a/algorithms_cpp/test/main.cc +++ b/algorithms_cpp/test/main.cc @@ -45,6 +45,8 @@ #include #include +#include + #define THIS_DOMAIN_ID 1 #define THIS_NODE_ID 1 @@ -76,6 +78,9 @@ PT_MAIN("Algorithms") { PT_RUN(InvokeTest); embb::mtapi::Node::Finalize(); + + PT_EXPECT(embb_get_bytes_allocated() == 0); + // std::cout << "please press return to continue..." << std::endl; // std::cin.get(); } -- libgit2 0.26.0