提交 3a527836 编写于 作者: H Hongze Cheng

more

上级 2c60c32e
...@@ -42,6 +42,7 @@ int metaOpenDB(SMeta *pMeta) { ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册