From 4ba5cf09f4034b175153c3642d06a6d696fe754c Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 28 Mar 2020 14:28:05 +0800 Subject: [PATCH] fix pObj use after free issue in tscProfile.c --- src/client/src/tscProfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/src/tscProfile.c b/src/client/src/tscProfile.c index a7a774b3a8..ab214384ad 100644 --- a/src/client/src/tscProfile.c +++ b/src/client/src/tscProfile.c @@ -292,7 +292,7 @@ void tscKillConnection(STscObj *pObj) { pthread_mutex_unlock(&pObj->mutex); - taos_close(pObj); - tscTrace("connection:%p is killed", pObj); + + taos_close(pObj); } -- GitLab