Merge pull request #7580 from taosdata/fix/TD-6330

[TD-6330]<fix> fix free error
This commit is contained in:
dapan1121 2021-08-27 08:58:55 +08:00 committed by GitHub
commit 524038877e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -427,7 +427,6 @@ int32_t readFromFile(char *name, uint32_t *len, void **buf) {
return TSDB_CODE_TSC_APP_ERROR;
}
close(fd);
tfree(*buf);
return TSDB_CODE_SUCCESS;
}