Explorar el Código

Deleted redundant null ptr check prior to delete.

Fixes issue #338.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=113439460
main
cmumford hace 9 años
cometido por Chris Mumford
padre
commit
3211343909
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      table/table.cc

+ 1
- 1
table/table.cc Ver fichero

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

Cargando…
Cancelar
Guardar