This commit is contained in:
Hongze Cheng 2021-11-03 16:21:14 +08:00
parent 2c60c32ec4
commit 3a527836cc
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ int metaOpenDB(SMeta *pMeta) {
pMeta->pDB = (meta_db_t *)calloc(1, sizeof(*(pMeta->pDB)));
if (pMeta->pDB == NULL) {
// TODO: handle error
rocksdb_options_destroy(options);
return -1;
}