Parcourir la source

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 il y a 9 ans
committed by Chris Mumford
Parent
révision
3211343909
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      table/table.cc

+ 1
- 1
table/table.cc Voir le fichier

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

Chargement…
Annuler
Enregistrer