diff --git a/src/client/src/tscProfile.c b/src/client/src/tscProfile.c index d3ec06a9c9f05cb4f8496164c377e9a2c953f17b..6c0adea139237f29a1cee3c89f69defa41a15b54 100644 --- a/src/client/src/tscProfile.c +++ b/src/client/src/tscProfile.c @@ -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; } }