提交 0cc681aa 编写于 作者: sangshuduo's avatar sangshuduo

fix read from pointer after free in mgmtTable.c

上级 52efc802
......@@ -430,8 +430,8 @@ static int32_t mgmtSuperTableActionUpdate(SSdbOper *pOper) {
void *oldSchema = pTable->schema;
memcpy(pTable, pNew, pOper->rowSize);
pTable->schema = pNew->schema;
free(pNew);
free(pNew->vgList);
free(pNew);
free(oldSchema);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册