diff --git a/source/libs/transport/src/transComm.c b/source/libs/transport/src/transComm.c index 6833594e7d..2d6485b346 100644 --- a/source/libs/transport/src/transComm.c +++ b/source/libs/transport/src/transComm.c @@ -240,6 +240,7 @@ void transCtxCleanup(STransCtx* ctx) { } taosHashCleanup(ctx->args); + ctx->args = NULL; } void transCtxMerge(STransCtx* dst, STransCtx* src) {