From 9ce34d54dc266911af8440cf91d492b872aa337c Mon Sep 17 00:00:00 2001 From: Nobuhiro Ban Date: Wed, 8 May 2024 17:05:40 +0900 Subject: [PATCH] fix leak around release_message() call --- src/tateyama/endpoint/common/worker_common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tateyama/endpoint/common/worker_common.h b/src/tateyama/endpoint/common/worker_common.h index e9389c28..77b6cd56 100644 --- a/src/tateyama/endpoint/common/worker_common.h +++ b/src/tateyama/endpoint/common/worker_common.h @@ -1,5 +1,5 @@ /* - * Copyright 2018-2023 Project Tsurugi. + * Copyright 2018-2024 Project Tsurugi. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -178,7 +178,6 @@ class worker_common { record.set_code(code); record.set_message(message); res->error(record); - record.release_message(); } bool endpoint_service(const std::shared_ptr& req,