Browse Source

fix

pull/1718/head
wangxiaotian22 4 years ago
parent
commit
031fdf0983
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/load/graph_loader.cc

+ 1
- 1
ge/graph/load/graph_loader.cc View File

@@ -133,7 +133,7 @@ Status GraphLoader::LoadDataFromFile(const std::string &path, int32_t priority,


Status ret = ModelParserBase::LoadFromFile(path.c_str(), priority, model_data); Status ret = ModelParserBase::LoadFromFile(path.c_str(), priority, model_data);
if (ret != SUCCESS) { if (ret != SUCCESS) {
GELOGE(ret, "[Call][LoadFromFile] failed. ret = %u, path:%s, key path:%s", ret, path.c_str(), key_path.c_str());
GELOGE(ret, "[Call][LoadFromFile] failed. ret = %u, path:%s", ret, path.c_str());
if (model_data.model_data != nullptr) { if (model_data.model_data != nullptr) {
delete[] static_cast<char *>(model_data.model_data); delete[] static_cast<char *>(model_data.model_data);
model_data.model_data = nullptr; model_data.model_data = nullptr;


Loading…
Cancel
Save