提交 9c12a285 编写于 作者: H Hongze Cheng

fix memory leak

上级 ffb7b03a
......@@ -227,6 +227,7 @@ void *tsdbFreeFS(STsdbFS *pfs) {
pfs->metaCache = NULL;
pfs->cstatus = tsdbFreeFSStatus(pfs->cstatus);
pthread_rwlock_destroy(&(pfs->lock));
free(pfs);
}
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册