fix memory leak
This commit is contained in:
parent
ac01ea4abb
commit
4843d6484e
|
@ -84,6 +84,7 @@ int vnodeApplyWMsg(SVnode *pVnode, SRpcMsg *pMsg, SRpcMsg **pRsp) {
|
||||||
// TODO: handle error
|
// TODO: handle error
|
||||||
}
|
}
|
||||||
vTrace("vgId:%d process create table %s", pVnode->vgId, pCreateTbReq->name);
|
vTrace("vgId:%d process create table %s", pVnode->vgId, pCreateTbReq->name);
|
||||||
|
free(pCreateTbReq->name);
|
||||||
if (pCreateTbReq->type == TD_SUPER_TABLE) {
|
if (pCreateTbReq->type == TD_SUPER_TABLE) {
|
||||||
free(pCreateTbReq->stbCfg.pSchema);
|
free(pCreateTbReq->stbCfg.pSchema);
|
||||||
free(pCreateTbReq->stbCfg.pTagSchema);
|
free(pCreateTbReq->stbCfg.pTagSchema);
|
||||||
|
|
Loading…
Reference in New Issue