fix mem leak
This commit is contained in:
parent
bb71bd4386
commit
edaa33d28d
|
@ -3482,7 +3482,7 @@ void doStreamStateSaveCheckpoint(SOperatorInfo* pOperator) {
|
||||||
len = doStreamStateEncodeOpState(&pBuf, len, pOperator, true);
|
len = doStreamStateEncodeOpState(&pBuf, len, pOperator, true);
|
||||||
pInfo->streamAggSup.stateStore.streamStateSaveInfo(pInfo->streamAggSup.pState, STREAM_STATE_OP_CHECKPOINT_NAME,
|
pInfo->streamAggSup.stateStore.streamStateSaveInfo(pInfo->streamAggSup.pState, STREAM_STATE_OP_CHECKPOINT_NAME,
|
||||||
strlen(STREAM_STATE_OP_CHECKPOINT_NAME), buf, len);
|
strlen(STREAM_STATE_OP_CHECKPOINT_NAME), buf, len);
|
||||||
taosMemoryFree(pBuf);
|
taosMemoryFree(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static SSDataBlock* buildStateResult(SOperatorInfo* pOperator) {
|
static SSDataBlock* buildStateResult(SOperatorInfo* pOperator) {
|
||||||
|
|
Loading…
Reference in New Issue