diff --git a/src/kit/shell/src/shellAuto.c b/src/kit/shell/src/shellAuto.c index 1b814e525f37d1e4c8f1edfe8eb5a13b052847cf..448bb5217ea754510d4ef8d384c130e6a1fb2180 100644 --- a/src/kit/shell/src/shellAuto.c +++ b/src/kit/shell/src/shellAuto.c @@ -1466,7 +1466,7 @@ bool isCreateFieldsArea(char* p) { // set string end by small for next strrchr search *left = 0; } - taosMemoryFree(p1); + free(p1); return ret; }