Commit 556fc8d6 by Marcus Winter

dataflow_cpp: checked for memory leaks in test

parent 743bf510
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <embb/mtapi/mtapi.h> #include <embb/mtapi/mtapi.h>
#include <embb/base/function.h> #include <embb/base/function.h>
#include <embb/base/c/memory_allocation.h>
#include <embb/dataflow/dataflow.h> #include <embb/dataflow/dataflow.h>
...@@ -203,4 +204,6 @@ void SimpleTest::TestBasic() { ...@@ -203,4 +204,6 @@ void SimpleTest::TestBasic() {
} }
embb::mtapi::Node::Finalize(); embb::mtapi::Node::Finalize();
PT_EXPECT(embb_get_bytes_allocated() == 0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment