|
| From: | zhenwei pi |
| Subject: | Re: Re: [PATCH] cryptodev: fix memory leak during stats query |
| Date: | Fri, 26 May 2023 16:34:21 +0800 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 5/3/23 20:59, Peter Maydell wrote:
On Wed, 3 May 2023 at 12:54, zhenwei pi <pizhenwei@bytedance.com> wrote:object_get_canonical_path already returns newly allocated memory, this means no additional g_strdup required. Remove g_strdup to avoid memory leak. Fixes: Coverity CID 1508074 Fixes: f2b901098 ("cryptodev: Support query-stats QMP command") Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> ---Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
Hi, Michael This patch has been ignored, could you please merge this in next PR? -- zhenwei pi
| [Prev in Thread] | Current Thread | [Next in Thread] |