fix(tsdb/retention): fix null pointer crash (uaf)

This commit is contained in:
Minglei Jin 2024-07-01 14:20:48 +08:00
parent aa7d4c1180
commit 299cf3a00b
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ _exit:
TARRAY2_DESTROY(&rtner.fopArr, NULL);
taosMemoryFree(arg);
if (code) {
tsdbError("vgId:%d, %s failed, code:%d, line:%d", TD_VID(((SRtnArg *)arg)->tsdb->pVnode), __func__, code, lino);
tsdbError("vgId:%d, %s failed, code:%d, line:%d", TD_VID(pTsdb->pVnode), __func__, code, lino);
}
return code;
}