From 32113439095d148fa93c7581a15f52ff26a389d3 Mon Sep 17 00:00:00 2001 From: cmumford Date: Sat, 30 Jan 2016 07:44:54 -0800 Subject: [PATCH] Deleted redundant null ptr check prior to delete. Fixes issue #338. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113439460 --- table/table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/table.cc b/table/table.cc index dff8a82..decf808 100644 --- a/table/table.cc +++ b/table/table.cc @@ -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;