Re: [PATCH 3/3] hw/xtensa/xtfpga:fix leak of fdevice tree blob

2020-02-19 Thread Laurent Vivier
Le 18/02/2020 à 10:11, kuhn.chen...@huawei.com a écrit : > From: Chen Qun > > The device tree blob returned by load_device_tree is malloced. > We should free it after cpu_physical_memory_write(). > > Reported-by: Euler Robot > Signed-off-by: Chen Qun > --- > hw/xtensa/xtfpga.c | 1 + > 1 file

Re: [PATCH 3/3] hw/xtensa/xtfpga:fix leak of fdevice tree blob

2020-02-18 Thread Max Filippov
On Tue, Feb 18, 2020 at 1:14 AM wrote: > > From: Chen Qun > > The device tree blob returned by load_device_tree is malloced. > We should free it after cpu_physical_memory_write(). > > Reported-by: Euler Robot > Signed-off-by: Chen Qun > --- > hw/xtensa/xtfpga.c | 1 + > 1 file changed, 1 inser

[PATCH 3/3] hw/xtensa/xtfpga:fix leak of fdevice tree blob

2020-02-18 Thread kuhn.chenqun
From: Chen Qun The device tree blob returned by load_device_tree is malloced. We should free it after cpu_physical_memory_write(). Reported-by: Euler Robot Signed-off-by: Chen Qun --- hw/xtensa/xtfpga.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.