Ver código fonte

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 anos atrás
committed by Chris Mumford
pai
commit
3211343909
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      table/table.cc

+ 1
- 1
table/table.cc Ver arquivo

@ -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;

Carregando…
Cancelar
Salvar