fix compile error

This commit is contained in:
Hongze Cheng 2020-12-22 13:41:57 +08:00
parent 1a28a017b4
commit 90a1569151
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ uint32_t tsdbGetFileInfo(TSDB_REPO_T *repo, char *name, uint32_t *index, uint32_
magic = pFile->info.magic;
char *tfname = strdup(fname);
sprintf(name, "tsdb/%s/%s", TSDB_DATA_DIR_NAME, basename(tfname));
tfree(tfname)
tfree(tfname);
} else {
return 0;
}