diff --git a/source/libs/transport/src/transComm.c b/source/libs/transport/src/transComm.c index 6833594e7d1f56b1612982f13f3057e08ae5bb75..2d6485b346d6a2b6700cdad17750daa8e662a701 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) {