Re: [Qemu-devel] [PATCH v2 2/4] ppc: fix memory leak in spapr_dt_drc()

2019-07-17 Thread David Gibson
On Wed, Jul 17, 2019 at 03:20:01AM -0500, Shivaprasad G Bhat wrote: > Leaking the drc_name while preparing the DT properties. > Fixing that. > > Also, remove the const qualifier from spapr_drc_name(). > > Signed-off-by: Shivaprasad G Bhat Applied to ppc-for-4.2, thanks. > --- > hw/ppc/spapr_d

[Qemu-devel] [PATCH v2 2/4] ppc: fix memory leak in spapr_dt_drc()

2019-07-17 Thread Shivaprasad G Bhat
Leaking the drc_name while preparing the DT properties. Fixing that. Also, remove the const qualifier from spapr_drc_name(). Signed-off-by: Shivaprasad G Bhat --- hw/ppc/spapr_drc.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/ppc/spapr_drc.c b/hw/ppc/spapr_d