Merge pull request #2508 from taosdata/hotfix/crash

ref count error
This commit is contained in:
Shengliang Guan 2020-06-30 15:15:56 +08:00 committed by GitHub
commit 4c7f32f2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -457,10 +457,9 @@ static int32_t mnodeSuperTableActionUpdate(SSdbOper *pOper) {
free(pNew);
free(oldTableId);
free(oldSchema);
mnodeDecTableRef(pTable);
}
mnodeDecTableRef(pTable);
return TSDB_CODE_SUCCESS;
}