From f98bdbe59a64359379b41ac3ab4481fe706d4479 Mon Sep 17 00:00:00 2001 From: caifubi Date: Wed, 9 Sep 2020 11:47:06 +0800 Subject: [PATCH] fix dev ptr release bug --- src/ge/ge_runtime/task/aicpu_task.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ge/ge_runtime/task/aicpu_task.cc b/src/ge/ge_runtime/task/aicpu_task.cc index 7abe5cd..1532491 100644 --- a/src/ge/ge_runtime/task/aicpu_task.cc +++ b/src/ge/ge_runtime/task/aicpu_task.cc @@ -22,7 +22,12 @@ namespace ge { namespace model_runner { AicpuTask::AicpuTask(const ModelContext &model_context, const std::shared_ptr &task_info) - : TaskRepeater(model_context, task_info), task_info_(task_info), stream_(nullptr), args_(nullptr) { + : TaskRepeater(model_context, task_info), + task_info_(task_info), + stream_(nullptr), + args_(nullptr), + ext_info_(nullptr), + input_output_addr_(nullptr) { if (task_info_ == nullptr) { GELOGW("task_info_ is null!"); } -- GitLab