fix(stream): coverity scan
This commit is contained in:
parent
ef6ba5b9ac
commit
86a858e04d
|
@ -253,6 +253,7 @@ int32_t streamLoadTasks(SStreamMeta* pMeta) {
|
||||||
if (pTask == NULL) {
|
if (pTask == NULL) {
|
||||||
tdbFree(pKey);
|
tdbFree(pKey);
|
||||||
tdbFree(pVal);
|
tdbFree(pVal);
|
||||||
|
tdbTbcClose(pCur);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
tDecoderInit(&decoder, (uint8_t*)pVal, vLen);
|
tDecoderInit(&decoder, (uint8_t*)pVal, vLen);
|
||||||
|
|
Loading…
Reference in New Issue