more
This commit is contained in:
parent
2c60c32ec4
commit
3a527836cc
|
@ -42,6 +42,7 @@ int metaOpenDB(SMeta *pMeta) {
|
||||||
pMeta->pDB = (meta_db_t *)calloc(1, sizeof(*(pMeta->pDB)));
|
pMeta->pDB = (meta_db_t *)calloc(1, sizeof(*(pMeta->pDB)));
|
||||||
if (pMeta->pDB == NULL) {
|
if (pMeta->pDB == NULL) {
|
||||||
// TODO: handle error
|
// TODO: handle error
|
||||||
|
rocksdb_options_destroy(options);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue