fix the issue #233, failed to record slow query

This commit is contained in:
slguan 2019-07-30 18:04:20 +08:00
parent 555309d93d
commit 322181c144
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void tscSaveSlowQueryFp(void *handle, void *tmrId) {
taos = taos_connect(NULL, "monitor", tsInternalPass, NULL, 0);
if (taos == NULL) {
tscError("failed to save slow query, can't connect to server");
free(sql);
free(sql);
return;
}
}