Commit 180329bf authored by nmostafa's avatar nmostafa

Fix freeing of args

parent 048bff67
......@@ -777,6 +777,8 @@ void MLIRCompiler::cleanup()
// Free void double pointer arguments without freeing external tensor data.
for (auto* arg : m_invokeArgs)
{
auto* memRefArg = *((mlir::StaticFloatMemRef**)arg);
free(memRefArg);
free(arg);
}
......
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 to comment