On Fri, May 26, 2023 at 04:34:21PM +0800, zhenwei pi wrote:
>
>
> On 5/3/23 20:59, Peter Maydell wrote:
> > On Wed, 3 May 2023 at 12:54, zhenwei pi wrote:
> > >
> > > object_get_canonical_path already returns newly allocated memory, this
> > > means no additional g_strdup required. Remove g_str
On 5/3/23 20:59, Peter Maydell wrote:
On Wed, 3 May 2023 at 12:54, zhenwei pi 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:
On Wed, 3 May 2023 at 12:54, zhenwei pi 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