From 556fc8d609be547235ea04aa6daea739304bbcfe Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Mon, 19 Jan 2015 11:18:43 +0100 Subject: [PATCH] dataflow_cpp: checked for memory leaks in test --- dataflow_cpp/test/dataflow_cpp_test_simple.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dataflow_cpp/test/dataflow_cpp_test_simple.cc b/dataflow_cpp/test/dataflow_cpp_test_simple.cc index cb7d7c9..c474b98 100644 --- a/dataflow_cpp/test/dataflow_cpp_test_simple.cc +++ b/dataflow_cpp/test/dataflow_cpp_test_simple.cc @@ -32,6 +32,7 @@ #include #include +#include #include @@ -203,4 +204,6 @@ void SimpleTest::TestBasic() { } embb::mtapi::Node::Finalize(); + + PT_EXPECT(embb_get_bytes_allocated() == 0); } -- libgit2 0.26.0