diff --git a/source/dnode/vnode/meta/src/metaDB.c b/source/dnode/vnode/meta/src/metaDB.c index d7e1d39c61d4d49c152fbb9c586c89439a0220fa..6630eb8a2cd46176b43a54519d05a33aed50469b 100644 --- a/source/dnode/vnode/meta/src/metaDB.c +++ b/source/dnode/vnode/meta/src/metaDB.c @@ -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; }