浏览代码

Deleted redundant null ptr check prior to delete.

Fixes issue #338.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=113439460
pull/1/head
cmumford 9 年前
committed by Chris Mumford
父节点
当前提交
3211343909
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      table/table.cc

+ 1
- 1
table/table.cc 查看文件

@ -82,7 +82,7 @@ Status Table::Open(const Options& options,
*table = new Table(rep);
(*table)->ReadMeta(footer);
} else {
if (index_block) delete index_block;
delete index_block;
}
return s;

正在加载...
取消
保存