Fix ObLogFileStore leak
This commit is contained in:
parent
4ca9eabca4
commit
52b7d789ac
@ -144,6 +144,10 @@ int ObStorageLogCommittedTransGetter::revise_log(const char* log_dir)
|
||||
if (OB_SUCC(ret)) {
|
||||
min_log_file_id_ = min_log_id;
|
||||
}
|
||||
|
||||
if (nullptr != store) {
|
||||
ObLogStoreFactory::destroy(store);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user