bugfix: double free
This commit is contained in:
parent
65fe54c4f6
commit
b99b469da7
|
@ -469,7 +469,6 @@ static int dumpResultToFile(const char* fname, TAOS_RES* result) {
|
||||||
} while( row != NULL);
|
} while( row != NULL);
|
||||||
|
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
taos_free_result(result);
|
|
||||||
return numOfRows;
|
return numOfRows;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue