On Wed, 3 May 2023 at 12:54, zhenwei pi <pizhen...@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.mayd...@linaro.org> > Signed-off-by: zhenwei pi <pizhen...@bytedance.com> > ---
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM