瀏覽代碼

Deleted redundant null ptr check prior to delete.

Fixes issue #338.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=113439460
ld
cmumford 8 年之前
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;

Loading…
取消
儲存