Re: [PATCH] spapr: Fix memory leak in h_client_architecture_support()

2020-03-21 Thread David Gibson
On Sat, Mar 21, 2020 at 06:34:22PM +0100, Greg Kurz wrote: > This is the only error path that needs to free the previously allocated > ov1. > > Reported-by: Coverity (CID 1421924) > Fixes: cbd0d7f36322 "spapr: Fail CAS if option vector table cannot be parsed" > Signed-off-by: Greg Kurz Applied t

Re: [PATCH] spapr: Fix memory leak in h_client_architecture_support()

2020-03-21 Thread Philippe Mathieu-Daudé
On 3/21/20 6:34 PM, Greg Kurz wrote: This is the only error path that needs to free the previously allocated ov1. Reported-by: Coverity (CID 1421924) Fixes: cbd0d7f36322 "spapr: Fail CAS if option vector table cannot be parsed" Signed-off-by: Greg Kurz --- hw/ppc/spapr_hcall.c |1 + 1 fi

[PATCH] spapr: Fix memory leak in h_client_architecture_support()

2020-03-21 Thread Greg Kurz
This is the only error path that needs to free the previously allocated ov1. Reported-by: Coverity (CID 1421924) Fixes: cbd0d7f36322 "spapr: Fail CAS if option vector table cannot be parsed" Signed-off-by: Greg Kurz --- hw/ppc/spapr_hcall.c |1 + 1 file changed, 1 insertion(+) diff --git a/