diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c index b6a2b7509e..2942a85f68 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c @@ -167,6 +167,7 @@ void dmSendStatusReq(SDnodeMgmt *pMgmt) { dError("failed to serialize status req since %s", tstrerror(contLen)); return; } + void *pHead = rpcMallocCont(contLen); contLen = tSerializeSStatusReq(pHead, contLen, &req); if (contLen < 0) {