qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.1 v2 4/4] hw/ssi/pnv_spi: Fixes Coverity CID 1558831


From: Richard Henderson
Subject: Re: [PATCH-for-9.1 v2 4/4] hw/ssi/pnv_spi: Fixes Coverity CID 1558831
Date: Thu, 8 Aug 2024 09:45:40 +1000
User-agent: Mozilla Thunderbird

On 8/8/24 06:28, Philippe Mathieu-Daudé wrote:
From: Chalapathi V<chalapathi.v@linux.ibm.com>

In this commit the following coverity scan defect has been fixed
CID 1558831:  Resource leaks  (RESOURCE_LEAK)
   Variable "rsp_payload" going out of scope leaks the storage it
   points to.

Fixes: Coverity CID 1558831
Signed-off-by: Chalapathi V<chalapathi.v@linux.ibm.com>
Fixes: b4cb930e40 ("hw/ssi: Extend SPI model")
[PMD: Rebased on previous commit (returning earlier)]
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  hw/ssi/pnv_spi.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]