From 322181c14417faf748ca468a4f6dbc067e45fff3 Mon Sep 17 00:00:00 2001 From: slguan Date: Tue, 30 Jul 2019 18:04:20 +0800 Subject: [PATCH] fix the issue #233, failed to record slow query --- src/client/src/tscProfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscProfile.c b/src/client/src/tscProfile.c index d3ec06a9c9..6c0adea139 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; } } -- GitLab