Browse Source

[MSLITE] deconv fp16 memory leak bug

tags/v1.1.0
ling 5 years ago
parent
commit
59160641a2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mindspore/lite/src/runtime/kernel/arm/fp16/deconvolution_fp16.cc

+ 4
- 0
mindspore/lite/src/runtime/kernel/arm/fp16/deconvolution_fp16.cc View File

@@ -30,6 +30,10 @@ DeConvolutionFp16CPUKernel::~DeConvolutionFp16CPUKernel() {
delete matmul_param_;
matmul_param_ = nullptr;
}
if (execute_weight_ != nullptr) {
free(execute_weight_);
execute_weight_ = nullptr;
}
return;
}



Loading…
Cancel
Save