fix:memory leak
This commit is contained in:
parent
1f85cb42e6
commit
cd3f3046f7
|
@ -97,10 +97,6 @@ int32_t tqInitialize(STQ* pTq) {
|
||||||
if (tqMetaTransform(pTq) < 0) {
|
if (tqMetaTransform(pTq) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
pTq->pOffsetStore = tqOffsetOpen(pTq);
|
|
||||||
if (pTq->pOffsetStore == NULL) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tqMetaRestoreCheckInfo(pTq) < 0) {
|
if (tqMetaRestoreCheckInfo(pTq) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue