diff --git a/plugin/business/pangu-http/src/pangu_http.cpp b/plugin/business/pangu-http/src/pangu_http.cpp index 4fb4eba..bcef5cb 100644 --- a/plugin/business/pangu-http/src/pangu_http.cpp +++ b/plugin/business/pangu-http/src/pangu_http.cpp @@ -566,12 +566,7 @@ void http_repl_ctx_free(struct replace_ctx* rep_ctx) evbuffer_free(rep_ctx->http_body); rep_ctx->http_body = NULL; } - //On session recycled. - if(rep_ctx->replacing) - { - tfe_http_half_free(rep_ctx->replacing); - rep_ctx->replacing=NULL; - } + FREE(&rep_ctx); return; }