Free _gemm_output_3d's memory region after run()
authorGiorgio Arena <giorgio.arena@arm.com>
Fri, 19 Feb 2021 10:19:50 +0000 (10:19 +0000)
committerGiorgio Arena <giorgio.arena@arm.com>
Fri, 19 Feb 2021 10:35:25 +0000 (10:35 +0000)
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: I689a9b6ad5a4486316363674491c594e153b19fb

src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp

index f3e7e197332b858d707379328df4b30cdf9e840c..2d296f39ea108c93a6d929b0420955e78e6fbe13 100644 (file)
@@ -611,6 +611,8 @@ void NEGEMMConvolutionLayer::run()
     {
         _reshape_layer.run();
     }
+
+    _gemm_output_3d.allocator()->free();
 }
 
 void NEGEMMConvolutionLayer::prepare()