[td-872] fix invalid read for taosdemo
This commit is contained in:
parent
bb34d83520
commit
402d5863f1
|
@ -857,7 +857,6 @@ void multiThreadCreateTable(char* cols, bool use_metric, int threads, int ntable
|
||||||
|
|
||||||
for (int i = 0; i < threads; i++) {
|
for (int i = 0; i < threads; i++) {
|
||||||
info *t_info = infos + i;
|
info *t_info = infos + i;
|
||||||
taos_close(t_info->taos);
|
|
||||||
sem_destroy(&(t_info->mutex_sem));
|
sem_destroy(&(t_info->mutex_sem));
|
||||||
sem_destroy(&(t_info->lock_sem));
|
sem_destroy(&(t_info->lock_sem));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue