fix UAF
This commit is contained in:
parent
0348ef6e22
commit
bed5765013
|
@ -210,6 +210,7 @@ void streamMetaClose(SStreamMeta* pMeta) {
|
||||||
if (pMeta == NULL) {
|
if (pMeta == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// TODO, add ref to resolve race: timer thread cannot stop
|
||||||
taosTmrStop(pMeta->hbInfo.hbTmr);
|
taosTmrStop(pMeta->hbInfo.hbTmr);
|
||||||
|
|
||||||
streamMetaClear(pMeta);
|
streamMetaClear(pMeta);
|
||||||
|
|
Loading…
Reference in New Issue