You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by cm...@apache.org on 2024/05/24 15:16:25 UTC
(trafficserver) 04/12: ASAN new and free mismatch in stale response plugin (#11362)
This is an automated email from the ASF dual-hosted git repository.
cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit aee8a2fb3fef614b160a44af96a6a81b87a5ce4d
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed May 22 10:25:36 2024 -0700
ASAN new and free mismatch in stale response plugin (#11362)
(cherry picked from commit 2bcf1d6883777c8d1fb30de14165d318a57aaa60)
---
plugins/experimental/stale_response/stale_response.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/experimental/stale_response/stale_response.cc b/plugins/experimental/stale_response/stale_response.cc
index 7e2c493a6f..f1c3294588 100644
--- a/plugins/experimental/stale_response/stale_response.cc
+++ b/plugins/experimental/stale_response/stale_response.cc
@@ -195,7 +195,7 @@ free_state_info(StateInfo *state)
// this is a temp pointer do not delete
// state->cur_save_body
- TSfree(state);
+ delete state;
}
/*-----------------------------------------------------------------------------------------------*/