aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2021-02-19 10:19:50 +0000
committerGiorgio Arena <giorgio.arena@arm.com>2021-02-19 10:35:25 +0000
commitc65c30fa304bc81822413f5ae5a65ba9d5bc28d7 (patch)
tree79fc1933373cdcd8eec5c4089a666e353abeedda
parent95235f49c2389a8013c4ca68affe29745b257011 (diff)
downloadComputeLibrary-c65c30fa304bc81822413f5ae5a65ba9d5bc28d7.tar.gz
Free _gemm_output_3d's memory region after run()
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Change-Id: I689a9b6ad5a4486316363674491c594e153b19fb
-rw-r--r--src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
index f3e7e19733..2d296f39ea 100644
--- a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
+++ b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
@@ -611,6 +611,8 @@ void NEGEMMConvolutionLayer::run()
{
_reshape_layer.run();
}
+
+ _gemm_output_3d.allocator()->free();
}
void NEGEMMConvolutionLayer::prepare()