提交 85087426 编写于 作者: S Shuduo Sang

fix resource leak in mnodeShow.c

[TD-446]
上级 6a7da09d
......@@ -132,6 +132,8 @@ static int32_t mnodeProcessShowMsg(SMnodeMsg *pMsg) {
pShow = mnodeSaveShowObj(pShow, showObjSize);
if (pShow == NULL) {
mnodeFreeShowObj(pShow);
rpcFreeCont(pShowRsp);
return TSDB_CODE_SERV_OUT_OF_MEMORY;
}
pShowRsp->qhandle = htobe64((uint64_t) pShow);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册