mirror of
https://github.com/google/leveldb.git
synced 2025-01-25 06:20:11 +08:00
Deleted redundant null ptr check prior to delete.
Fixes issue #338. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113439460
This commit is contained in:
parent
7306ef856a
commit
3211343909
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user