Przeglądaj źródła

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 lat temu
committed by Chris Mumford
rodzic
commit
3211343909
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      table/table.cc

+ 1
- 1
table/table.cc Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz