Skip to content

Commit

Permalink
Deleted redundant null ptr check prior to delete.
Browse files Browse the repository at this point in the history
Fixes issue #338.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=113439460
  • Loading branch information
cmumford committed Mar 31, 2016
1 parent 7306ef8 commit 3211343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3211343

Please sign in to comment.